Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.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.001592/0.001592, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001726/0.001726, allocations: 157.3 kB / 23.01 MB, free: 4.605 MB / 14.72 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.401/1.401, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.882/2.882, allocations: 394.2 MB / 0.6386 GB, free: 11.97 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3361,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3361,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 71.88 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7588/0.7611, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002619/0.7637, allocations: 1.819 MB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.7656, allocations: 1.71 MB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.658e-05/0.7657, allocations: 6.156 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.7659, allocations: 30.58 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.285e-05/0.766, allocations: 19.5 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/0.7666, allocations: 263.4 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.7669, allocations: 248 kB / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.767, allocations: 44.56 kB / 1.191 GB, free: 13.53 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.7672, allocations: 99.7 kB / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.7673, allocations: 87.58 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.7673, allocations: 13.25 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003675/0.7677, allocations: 230.4 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.805e-05/0.7678, allocations: 87.2 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.936e-05/0.7679, allocations: 74.41 kB / 1.191 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004581/0.7684, allocations: 398.3 kB / 1.192 GB, free: 13.16 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7684, allocations: 4.766 kB / 1.192 GB, free: 13.16 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7684, allocations: 0 / 1.192 GB, free: 13.16 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.7684, allocations: 0 / 1.192 GB, free: 13.16 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007097/0.7691, allocations: 495.8 kB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.7691, allocations: 8.906 kB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.7693, allocations: 39.95 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.7696, allocations: 206.9 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.7696, allocations: 15.28 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.7696, allocations: 31.81 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.77, allocations: 212.2 kB / 1.193 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.77, allocations: 0 / 1.193 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.77, allocations: 8.203 kB / 1.193 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.77, allocations: 7.969 kB / 1.193 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.7703, allocations: 117.2 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.7713, allocations: 492.3 kB / 1.193 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.7717, allocations: 189.6 kB / 1.193 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.7718, allocations: 92.55 kB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.7718, allocations: 7.375 kB / 1.193 GB, free: 12.01 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.7721, allocations: 179.6 kB / 1.194 GB, free: 11.92 MB / 1.076 GB Notification: Performance of pre-optimization done (n=27): time 1.783e-06/0.7721, allocations: 0 / 1.194 GB, free: 11.92 MB / 1.076 GB Notification: Performance of matching and sorting (n=27): time 0.0006712/0.7728, allocations: 381.3 kB / 1.194 GB, free: 11.8 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.7728, allocations: 74.06 kB / 1.194 GB, free: 11.73 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.7729, allocations: 169.1 kB / 1.194 GB, free: 11.6 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.773, allocations: 48.08 kB / 1.194 GB, free: 11.56 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.773, allocations: 128.9 kB / 1.194 GB, free: 11.45 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.783e-05/0.7731, allocations: 80.12 kB / 1.194 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/0.7732, allocations: 83.41 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.616e-05/0.7732, allocations: 343.3 kB / 1.195 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.7734, allocations: 113.9 kB / 1.195 GB, free: 10.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.7737, allocations: 285.9 kB / 1.195 GB, free: 10.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.7741, allocations: 368.1 kB / 1.196 GB, free: 10.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.7741, allocations: 1.031 kB / 1.196 GB, free: 10.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005807/0.7747, allocations: 423.2 kB / 1.196 GB, free: 10.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.7747, allocations: 6.812 kB / 1.196 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.7747, allocations: 5.625 kB / 1.196 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.7747, allocations: 6.781 kB / 1.196 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.7749, allocations: 61.36 kB / 1.196 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.7749, allocations: 11.2 kB / 1.196 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.775, allocations: 39.78 kB / 1.196 GB, free: 10.28 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.7751, allocations: 19.48 kB / 1.196 GB, free: 10.28 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 34 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri_temp[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri_temp[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2],onOffCon.y,$PRE.onOffCon.y,pyt.uRWri_temp[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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 0.0001335/0.7752, allocations: 174.8 kB / 1.196 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.7752, allocations: 29.34 kB / 1.196 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.7753, allocations: 24.5 kB / 1.196 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.7753, allocations: 8.203 kB / 1.196 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7753, allocations: 0 / 1.196 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7753, allocations: 1.734 kB / 1.196 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008567/0.7761, allocations: 0.6127 MB / 1.197 GB, free: 9.746 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.7761, allocations: 0 / 1.197 GB, free: 9.746 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.7763, allocations: 20.7 kB / 1.197 GB, free: 9.742 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7763, allocations: 6 kB / 1.197 GB, free: 9.738 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.7763, allocations: 12.86 kB / 1.197 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.7763, allocations: 1.125 kB / 1.197 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7763, allocations: 192 / 1.197 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006505/0.7769, allocations: 0.5167 MB / 1.197 GB, free: 9.488 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.777, allocations: 26.72 kB / 1.197 GB, free: 9.469 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.777, allocations: 20.41 kB / 1.198 GB, free: 9.461 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.7771, allocations: 8.359 kB / 1.198 GB, free: 9.461 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.7772, allocations: 25.72 kB / 1.198 GB, free: 9.453 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.7772, allocations: 16.53 kB / 1.198 GB, free: 9.449 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.89e-05/0.7773, allocations: 121.2 kB / 1.198 GB, free: 9.363 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.7773, allocations: 0 / 1.198 GB, free: 9.363 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004319/0.7777, allocations: 109.2 kB / 1.198 GB, free: 9.332 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 18 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0007626/0.7785, allocations: 346.6 kB / 1.198 GB, free: 9.152 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004788/0.779, allocations: 272 kB / 1.198 GB, free: 9.074 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.779, allocations: 0 / 1.198 GB, free: 9.074 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.7791, allocations: 98.67 kB / 1.198 GB, free: 9.051 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.7794, allocations: 32.95 kB / 1.198 GB, free: 9.031 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007292/0.7802, allocations: 0.5067 MB / 1.199 GB, free: 8.73 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.7803, allocations: 134 kB / 1.199 GB, free: 8.652 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.7804, allocations: 64.19 kB / 1.199 GB, free: 8.637 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.7804, allocations: 26.95 kB / 1.199 GB, free: 8.625 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.7804, allocations: 0 / 1.199 GB, free: 8.625 MB / 1.076 GB Notification: Performance of Templates: time 0.007156/0.7876, allocations: 3.266 MB / 1.202 GB, free: 8.273 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.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: 8.672061610035598]