Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 112.4 kB / 16.42 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002127/0.002127, allocations: 189.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.89 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8627/0.864, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002802/0.8668, allocations: 1.775 MB / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.8688, allocations: 1.599 MB / 1.092 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.8689, allocations: 1.156 kB / 1.092 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.8691, allocations: 28.48 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.8692, allocations: 21.16 kB / 1.092 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006393/0.8698, allocations: 235.3 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.8702, allocations: 246.7 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.8703, allocations: 59.3 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.8705, allocations: 90.11 kB / 1.093 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.8706, allocations: 79.84 kB / 1.093 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.8707, allocations: 16.47 kB / 1.093 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003931/0.8711, allocations: 212.8 kB / 1.093 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.8712, allocations: 75.19 kB / 1.093 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.843e-05/0.8713, allocations: 97.27 kB / 1.093 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.8718, allocations: 374.9 kB / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8718, allocations: 0 / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8718, allocations: 0.7188 kB / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8718, allocations: 0 / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000884/0.8727, allocations: 0.5722 MB / 1.094 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.8728, allocations: 8.844 kB / 1.094 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.8728, allocations: 26.52 kB / 1.094 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.8731, allocations: 248.1 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.8731, allocations: 15.02 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/0.8732, allocations: 30.81 kB / 1.094 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.8736, allocations: 200.2 kB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.8736, allocations: 0 / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.8736, allocations: 7.766 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.8736, allocations: 3.656 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.8739, allocations: 124.3 kB / 1.095 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.8752, allocations: 0.583 MB / 1.095 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008788/0.8761, allocations: 282 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.8763, allocations: 100 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.8763, allocations: 3.031 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.8767, allocations: 170.4 kB / 1.096 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.934e-06/0.8767, allocations: 0.5625 kB / 1.096 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.0007616/0.8774, allocations: 381.5 kB / 1.096 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.8775, allocations: 68.84 kB / 1.096 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.8776, allocations: 187.5 kB / 1.096 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.8777, allocations: 45.73 kB / 1.096 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.8777, allocations: 131.1 kB / 1.096 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.8778, allocations: 83.3 kB / 1.097 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.8779, allocations: 78.73 kB / 1.097 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.878, allocations: 334 kB / 1.097 GB, free: 428 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.8782, allocations: 118.8 kB / 1.097 GB, free: 392 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.8785, allocations: 244.1 kB / 1.097 GB, free: 192 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.879, allocations: 369.8 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.879, allocations: 1.156 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006692/0.8796, allocations: 407.7 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.8797, allocations: 10.31 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.8797, allocations: 4.156 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.8797, allocations: 11.05 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.8799, allocations: 68.48 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.88, allocations: 11.17 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.8802, allocations: 44.23 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.8802, allocations: 17.47 kB / 1.098 GB, free: 15.71 MB / 0.8731 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,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],pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.000186/0.8804, allocations: 178.1 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.8804, allocations: 25.62 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.8805, allocations: 24 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.8805, allocations: 1.219 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8805, allocations: 0.75 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.8806, allocations: 94.62 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.8806, allocations: 17.14 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.8808, allocations: 23 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.8809, allocations: 21.75 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007098/0.8816, allocations: 413.2 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008569/0.8825, allocations: 0.606 MB / 1.1 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002048/0.8827, allocations: 107.6 kB / 1.1 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001032/0.8828, allocations: 129.3 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of Backend: time 5.41e-07/0.8828, allocations: 0 / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00132/0.8841, allocations: 482.2 kB / 1.1 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0008808/0.885, allocations: 0.854 MB / 1.101 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of Templates: time 0.007922/0.893, allocations: 3.453 MB / 1.104 GB, free: 13.58 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches