Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002083/0.002083, allocations: 110 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002323/0.002323, allocations: 190.2 kB / 22.23 MB, free: 5.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.755/2.755, allocations: 476.7 MB / 0.7646 GB, free: 9.898 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 63.89 kB / 1.11 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8477/0.8498, allocations: 168.8 MB / 1.274 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003273/0.8531, allocations: 1.841 MB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002764/0.8558, allocations: 1.702 MB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.28e-05/0.8559, allocations: 7.938 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.8561, allocations: 23.8 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.8563, allocations: 19.78 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007707/0.857, allocations: 255.2 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.8574, allocations: 251.5 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.8575, allocations: 48.38 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.8577, allocations: 103.7 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.8579, allocations: 87.78 kB / 1.279 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.8579, allocations: 12 kB / 1.279 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004646/0.8584, allocations: 251.5 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.8585, allocations: 83.78 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.8586, allocations: 91.47 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000567/0.8592, allocations: 398.4 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8592, allocations: 0 / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8592, allocations: 4 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.8592, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 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.0009041/0.8601, allocations: 492.7 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.8601, allocations: 16.02 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.584e-05/0.8602, allocations: 24.8 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.8605, allocations: 199.7 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.8606, allocations: 20.31 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.8606, allocations: 35.92 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.861, allocations: 205.3 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.8611, allocations: 3.984 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.8611, allocations: 4 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.8611, allocations: 4 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.8614, allocations: 119.9 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.8627, allocations: 0.5576 MB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.8631, allocations: 192.6 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.8633, allocations: 92.8 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.8633, allocations: 8 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003556/0.8637, allocations: 172 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 1.643e-06/0.8637, allocations: 0 / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0007806/0.8644, allocations: 388.4 kB / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.8645, allocations: 71.39 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.8647, allocations: 183.8 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.8648, allocations: 49.69 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.91e-05/0.8649, allocations: 129 kB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/0.8649, allocations: 83.36 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.8651, allocations: 82.12 kB / 1.282 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.8652, allocations: 334.8 kB / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.8654, allocations: 120.7 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.8658, allocations: 253.5 kB / 1.283 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/0.8663, allocations: 375.9 kB / 1.283 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.8663, allocations: 7.938 kB / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007132/0.867, allocations: 421.3 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.8671, allocations: 8 kB / 1.284 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.8671, allocations: 8 kB / 1.284 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.8671, allocations: 8 kB / 1.284 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.8673, allocations: 59.91 kB / 1.284 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.8673, allocations: 11.94 kB / 1.284 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.8675, allocations: 35.78 kB / 1.284 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.8675, allocations: 16 kB / 1.284 GB, free: 10.08 MB / 0.9825 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.0002075/0.8677, allocations: 184.2 kB / 1.284 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.8677, allocations: 23.86 kB / 1.284 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.121e-05/0.8678, allocations: 22.66 kB / 1.284 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.8678, allocations: 0 / 1.284 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.8678, allocations: 4 kB / 1.284 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.8678, allocations: 3.984 kB / 1.284 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.8689, allocations: 0.6578 MB / 1.285 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.8689, allocations: 3.938 kB / 1.285 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.869, allocations: 23.92 kB / 1.285 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.869, allocations: 0 / 1.285 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.869, allocations: 11.98 kB / 1.285 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.869, allocations: 4 kB / 1.285 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.869, allocations: 192 / 1.285 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000809/0.8699, allocations: 0.5163 MB / 1.285 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.8699, allocations: 19.84 kB / 1.285 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.8699, allocations: 16.03 kB / 1.285 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.8701, allocations: 11.98 kB / 1.285 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.8701, allocations: 23.91 kB / 1.285 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.8701, allocations: 11.98 kB / 1.285 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001179/0.8703, allocations: 135.2 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8703, allocations: 3.938 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004643/0.8707, allocations: 107.7 kB / 1.286 GB, free: 8.227 MB / 0.9825 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.0008813/0.8716, allocations: 339.1 kB / 1.286 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005461/0.8722, allocations: 271.5 kB / 1.286 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8722, allocations: 0 / 1.286 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.8724, allocations: 99.02 kB / 1.286 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.8727, allocations: 19.98 kB / 1.286 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009346/0.8736, allocations: 0.4965 MB / 1.287 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.874, allocations: 0.7557 MB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001283/0.8741, allocations: 54.19 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.8742, allocations: 23.44 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.8742, allocations: 0 / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of Templates: time 0.007941/0.8821, allocations: 3.458 MB / 1.291 GB, free: 2.742 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.919757674448192]