Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001862/0.001862, allocations: 111.8 kB / 16.42 MB, free: 6.516 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.00204/0.00204, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.407/1.407, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002447/0.002447, allocations: 60.11 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003929/1.01, allocations: 1.775 MB / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003321/1.014, allocations: 1.604 MB / 1.171 GB, free: 464 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/1.014, allocations: 4 kB / 1.171 GB, free: 460 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002796/1.014, allocations: 31.72 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002058/1.015, allocations: 19.8 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/1.016, allocations: 235.3 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004413/1.016, allocations: 251.5 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/1.016, allocations: 49.91 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/1.017, allocations: 91.66 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/1.017, allocations: 79.67 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/1.017, allocations: 19.94 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005093/1.017, allocations: 215.7 kB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/1.018, allocations: 75.8 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/1.018, allocations: 87.53 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006543/1.018, allocations: 383.2 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.018, allocations: 0 / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.643e-06/1.018, allocations: 0 / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.675e-05/1.018, allocations: 4 kB / 1.172 GB, free: 14.93 MB / 0.9044 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.001419/1.02, allocations: 0.5724 MB / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/1.02, allocations: 12.91 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/1.02, allocations: 24.8 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/1.02, allocations: 248 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/1.02, allocations: 16.7 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/1.02, allocations: 35.92 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004808/1.021, allocations: 196.2 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/1.021, allocations: 0 / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/1.021, allocations: 4 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/1.021, allocations: 4 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/1.021, allocations: 128.4 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/1.023, allocations: 0.5898 MB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008438/1.024, allocations: 275.6 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/1.024, allocations: 100.7 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/1.024, allocations: 4 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004211/1.024, allocations: 173.7 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 2.154e-06/1.024, allocations: 0 / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.0007308/1.025, allocations: 392.1 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/1.025, allocations: 71.38 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/1.025, allocations: 175.4 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/1.025, allocations: 49.69 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/1.025, allocations: 132.7 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.031e-05/1.026, allocations: 71.44 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/1.026, allocations: 82.06 kB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.026, allocations: 338.8 kB / 1.176 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/1.026, allocations: 112.8 kB / 1.176 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/1.026, allocations: 256.5 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/1.027, allocations: 359.9 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.027, allocations: 0 / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007/1.028, allocations: 416.9 kB / 1.177 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.028, allocations: 8 kB / 1.177 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.028, allocations: 4 kB / 1.177 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/1.028, allocations: 4.469 kB / 1.177 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/1.028, allocations: 68.03 kB / 1.177 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/1.028, allocations: 8 kB / 1.177 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/1.028, allocations: 47.75 kB / 1.177 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/1.028, allocations: 16 kB / 1.177 GB, free: 9.684 MB / 0.9044 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.0002008/1.028, allocations: 180.8 kB / 1.177 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/1.028, allocations: 27.8 kB / 1.177 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.854e-05/1.028, allocations: 21.86 kB / 1.177 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.028, allocations: 0 / 1.177 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.028, allocations: 0 / 1.177 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-05/1.029, allocations: 96.89 kB / 1.177 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/1.029, allocations: 19.98 kB / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/1.029, allocations: 23.97 kB / 1.177 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/1.029, allocations: 19.97 kB / 1.177 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006595/1.029, allocations: 416.5 kB / 1.178 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007665/1.03, allocations: 0.5986 MB / 1.178 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001818/1.03, allocations: 104.1 kB / 1.178 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001037/1.031, allocations: 140.3 kB / 1.178 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of Backend: time 5.31e-07/1.031, allocations: 0 / 1.178 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001506/1.032, allocations: 494.5 kB / 1.179 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001102/1.033, allocations: 0.8521 MB / 1.18 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of Templates: time 0.009074/1.042, allocations: 3.476 MB / 1.183 GB, free: 3.223 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches