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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001267/0.001267, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001124/0.001124, allocations: 185.5 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.511/1.511, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.637/2.637, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.91 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.053, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003641/1.057, allocations: 1.823 MB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0026/1.059, allocations: 1.6 MB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/1.06, allocations: 0 / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002224/1.06, allocations: 31.72 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/1.06, allocations: 15.81 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000809/1.061, allocations: 247.3 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003507/1.061, allocations: 247.4 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/1.061, allocations: 53.55 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/1.062, allocations: 91.8 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/1.062, allocations: 83.61 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/1.062, allocations: 12 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004811/1.062, allocations: 219.6 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/1.062, allocations: 87.78 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/1.062, allocations: 91.48 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000574/1.063, allocations: 390.7 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.063, allocations: 0 / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.036e-06/1.063, allocations: 0 / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.365e-05/1.063, allocations: 3.938 kB / 1.213 GB, free: 8.633 MB / 0.9356 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.001061/1.064, allocations: 0.559 MB / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/1.064, allocations: 8.031 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/1.064, allocations: 20.75 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/1.065, allocations: 256.7 kB / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/1.065, allocations: 24.36 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/1.065, allocations: 23.94 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/1.065, allocations: 209.1 kB / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.065, allocations: 0 / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/1.065, allocations: 15.98 kB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/1.065, allocations: 4 kB / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/1.066, allocations: 119.9 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/1.067, allocations: 0.5857 MB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/1.067, allocations: 206.5 kB / 1.215 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/1.067, allocations: 97.34 kB / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/1.068, allocations: 11.88 kB / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003543/1.068, allocations: 168 kB / 1.215 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/1.068, allocations: 4 kB / 1.215 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27): time 0.0007469/1.069, allocations: 388.7 kB / 1.216 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/1.069, allocations: 71.39 kB / 1.216 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/1.069, allocations: 179.2 kB / 1.216 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/1.069, allocations: 49.62 kB / 1.216 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/1.069, allocations: 136.9 kB / 1.216 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/1.069, allocations: 82.98 kB / 1.216 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/1.069, allocations: 82.12 kB / 1.216 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.069, allocations: 334.8 kB / 1.217 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/1.07, allocations: 120.8 kB / 1.217 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/1.07, allocations: 245.5 kB / 1.217 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/1.07, allocations: 375.9 kB / 1.217 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/1.07, allocations: 4 kB / 1.217 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006536/1.071, allocations: 416.8 kB / 1.218 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.071, allocations: 8 kB / 1.218 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.071, allocations: 7.938 kB / 1.218 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.071, allocations: 8 kB / 1.218 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/1.071, allocations: 59.91 kB / 1.218 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/1.071, allocations: 16.39 kB / 1.218 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/1.072, allocations: 39.69 kB / 1.218 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/1.072, allocations: 19.98 kB / 1.218 GB, free: 3.402 MB / 0.9356 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.0002233/1.072, allocations: 180.2 kB / 1.218 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/1.072, allocations: 19.81 kB / 1.218 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/1.072, allocations: 26.55 kB / 1.218 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.072, allocations: 3.938 kB / 1.218 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.072, allocations: 0 / 1.218 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.14e-05/1.072, allocations: 96.77 kB / 1.218 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/1.072, allocations: 15.98 kB / 1.218 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/1.072, allocations: 11.98 kB / 1.218 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.713e-05/1.072, allocations: 27.89 kB / 1.218 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006317/1.073, allocations: 412.7 kB / 1.219 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009175/1.074, allocations: 0.6085 MB / 1.219 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002018/1.074, allocations: 107.7 kB / 1.219 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001257/1.074, allocations: 127.2 kB / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of Backend: time 7.51e-07/1.074, allocations: 0 / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001704/1.076, allocations: 494.6 kB / 1.22 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001319/1.077, allocations: 0.8674 MB / 1.221 GB, free: 408 kB / 0.9356 GB Notification: Performance of Templates: time 0.008728/1.086, allocations: 3.525 MB / 1.224 GB, free: 12.88 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) 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) Reference file matches