Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.716/2.716, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.406e-05, allocations: 3.312 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002869/0.002893, allocations: 1.478 MB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008297/0.003723, allocations: 347.9 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.003756, allocations: 4 kB / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.003787, allocations: 3.938 kB / 0.7882 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.003835, allocations: 4.562 kB / 0.7882 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.004339, allocations: 121.6 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.21e-05/0.004411, allocations: 23.92 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.292e-05/0.004484, allocations: 4 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.091e-05/0.004544, allocations: 16.64 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.639e-05/0.004581, allocations: 8 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.004595, allocations: 1.281 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.005047, allocations: 259.6 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.005065, allocations: 8 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.005095, allocations: 9.469 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.005399, allocations: 139.6 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005401, allocations: 0 / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.42e-07/0.005402, allocations: 0 / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.005406, allocations: 1.469 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005421/0.005948, allocations: 294 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.005984, allocations: 8.031 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.73e-05/0.006072, allocations: 8.125 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.00621, allocations: 105.8 kB / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.006225, allocations: 4.375 kB / 0.7891 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.006236, allocations: 4.375 kB / 0.7891 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.006429, allocations: 50.23 kB / 0.7892 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.006437, allocations: 192 / 0.7892 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.006446, allocations: 384 / 0.7892 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.00645, allocations: 384 / 0.7892 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.006642, allocations: 44.86 kB / 0.7892 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.006982, allocations: 189.2 kB / 0.7894 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.007146, allocations: 43.88 kB / 0.7894 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.766e-05/0.007244, allocations: 22.91 kB / 0.7895 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005934/0.007837, allocations: 77.45 kB / 0.7895 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.007874, allocations: 35.19 kB / 0.7896 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.007875, allocations: 0.5938 kB / 0.7896 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0004424/0.008318, allocations: 86.95 kB / 0.7897 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.008366, allocations: 57 kB / 0.7897 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.00847, allocations: 105.8 kB / 0.7898 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.008492, allocations: 25.7 kB / 0.7898 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.061e-05/0.008563, allocations: 88.09 kB / 0.7899 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.008576, allocations: 0 / 0.7899 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.008622, allocations: 22.27 kB / 0.7899 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.008791, allocations: 313.4 kB / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.544e-05/0.008887, allocations: 15.98 kB / 0.7903 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.187e-05/0.008969, allocations: 15.98 kB / 0.7903 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.009165, allocations: 46.5 kB / 0.7903 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.009166, allocations: 0 / 0.7903 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002508/0.009417, allocations: 74.14 kB / 0.7904 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.009433, allocations: 8.562 kB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.009441, allocations: 3.938 kB / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.009459, allocations: 1.594 kB / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.009543, allocations: 4 kB / 0.7904 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.009553, allocations: 4 kB / 0.7904 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/0.009606, allocations: 6.109 kB / 0.7904 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.009611, allocations: 4 kB / 0.7904 GB, free: 8.527 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.035e-05/0.009701, allocations: 105.8 kB / 0.7905 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.00975, allocations: 11.94 kB / 0.7905 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.01003, allocations: 82.84 kB / 0.7906 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01003, allocations: 0 / 0.7906 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.01004, allocations: 0 / 0.7906 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.01004, allocations: 0.8125 kB / 0.7906 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.0102, allocations: 109.5 kB / 0.7907 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.01021, allocations: 8 kB / 0.7907 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.255e-05/0.01027, allocations: 8.516 kB / 0.7907 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01027, allocations: 0.8438 kB / 0.7907 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.01028, allocations: 3.938 kB / 0.7907 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01028, allocations: 6 kB / 0.7907 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.01029, allocations: 4 kB / 0.7907 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.0106, allocations: 163.5 kB / 0.7909 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.01061, allocations: 12.83 kB / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.01062, allocations: 0 / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.01071, allocations: 11.66 kB / 0.7909 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.01075, allocations: 3.984 kB / 0.7909 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.01075, allocations: 0 / 0.7909 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.124e-05/0.01081, allocations: 87.28 kB / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01081, allocations: 0 / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002614/0.01107, allocations: 12 kB / 0.791 GB, free: 7.859 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001894/0.01126, allocations: 111.2 kB / 0.7911 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.01149, allocations: 37.16 kB / 0.7912 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01149, allocations: 0 / 0.7912 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.968e-05/0.01159, allocations: 24.94 kB / 0.7912 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.01188, allocations: 8 kB / 0.7912 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.0122, allocations: 123 kB / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.154e-05/0.01227, allocations: 64.47 kB / 0.7914 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.268e-05/0.01229, allocations: 0 / 0.7914 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.01232, allocations: 12.5 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.01232, allocations: 1.156 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of Templates: time 0.003538/0.01586, allocations: 0.7554 MB / 0.7921 GB, free: 6.695 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.567800225922838]