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) 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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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=5000,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=5000,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_11_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.00181/0.00181, allocations: 116.5 kB / 16.81 MB, free: 5.77 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.002643/0.002643, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.507/1.507, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.73 kB / 1.097 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4175, allocations: 168.7 MB / 1.262 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003579/0.421, allocations: 1.807 MB / 1.264 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002531/0.4236, allocations: 1.635 MB / 1.265 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.228e-05/0.4237, allocations: 4 kB / 1.265 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.4239, allocations: 31.72 kB / 1.265 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.424, allocations: 23.8 kB / 1.265 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007132/0.4247, allocations: 238.5 kB / 1.266 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.4251, allocations: 243.5 kB / 1.266 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.4252, allocations: 61.5 kB / 1.266 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.4254, allocations: 95.73 kB / 1.266 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.4256, allocations: 87.66 kB / 1.266 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.4256, allocations: 12 kB / 1.266 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004095/0.426, allocations: 219.6 kB / 1.266 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.4261, allocations: 75.75 kB / 1.266 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.4262, allocations: 95.52 kB / 1.267 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005299/0.4268, allocations: 394.5 kB / 1.267 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4268, allocations: 0 / 1.267 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4268, allocations: 0 / 1.267 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.4268, allocations: 0 / 1.267 GB, free: 8.102 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.0009848/0.4278, allocations: 0.5682 MB / 1.267 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4278, allocations: 8.031 kB / 1.267 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.366e-05/0.4279, allocations: 28.8 kB / 1.267 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.4282, allocations: 256.9 kB / 1.268 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.4283, allocations: 20.38 kB / 1.268 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.859e-05/0.4283, allocations: 35.92 kB / 1.268 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.4287, allocations: 205.3 kB / 1.268 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4288, allocations: 0 / 1.268 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.4288, allocations: 4 kB / 1.268 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4288, allocations: 4 kB / 1.268 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.429, allocations: 115.9 kB / 1.268 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.4304, allocations: 0.5936 MB / 1.269 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.4307, allocations: 182.6 kB / 1.269 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.4309, allocations: 92.73 kB / 1.269 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.4309, allocations: 7.984 kB / 1.269 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003789/0.4313, allocations: 176 kB / 1.269 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 2.225e-06/0.4313, allocations: 0 / 1.269 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0007558/0.432, allocations: 388.3 kB / 1.269 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.4321, allocations: 83.25 kB / 1.27 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.4323, allocations: 183.2 kB / 1.27 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.4324, allocations: 53.69 kB / 1.27 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.4325, allocations: 125 kB / 1.27 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.596e-05/0.4326, allocations: 87.31 kB / 1.27 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.4327, allocations: 82.12 kB / 1.27 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.4329, allocations: 338.8 kB / 1.27 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.4331, allocations: 112.8 kB / 1.271 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.4334, allocations: 253.5 kB / 1.271 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.4339, allocations: 367.9 kB / 1.271 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4339, allocations: 4 kB / 1.271 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006717/0.4346, allocations: 424.9 kB / 1.272 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.4346, allocations: 8 kB / 1.272 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.4346, allocations: 8.453 kB / 1.272 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.4346, allocations: 15.94 kB / 1.272 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.4348, allocations: 55.86 kB / 1.272 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.4348, allocations: 11.98 kB / 1.272 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.435, allocations: 35.78 kB / 1.272 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.435, allocations: 16 kB / 1.272 GB, free: 2.879 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.0002201/0.4352, allocations: 196.2 kB / 1.272 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.4353, allocations: 19.86 kB / 1.272 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.4353, allocations: 18.56 kB / 1.272 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.4353, allocations: 3.984 kB / 1.272 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4353, allocations: 0 / 1.272 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/0.4354, allocations: 93.02 kB / 1.272 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/0.4355, allocations: 15.98 kB / 1.272 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.4356, allocations: 11.98 kB / 1.272 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.4356, allocations: 27.91 kB / 1.272 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000606/0.4362, allocations: 404.7 kB / 1.272 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008157/0.437, allocations: 0.6085 MB / 1.273 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000179/0.4372, allocations: 96.84 kB / 1.273 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001129/0.4373, allocations: 132.3 kB / 1.273 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of Backend: time 4.1e-07/0.4373, allocations: 0 / 1.273 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.439, allocations: 483.5 kB / 1.274 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of SimCode: time 0.001335/0.4403, allocations: 0.8744 MB / 1.275 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of Templates: time 0.009725/0.45, allocations: 3.61 MB / 1.278 GB, free: 12.28 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches