Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.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.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBoxCon.TRooHeaSet|vavBoxCon.TRooCooSet|vavBoxCon.TRoo|vavBoxCon.conHea.y|vavBoxCon.conCoo.y|vavBoxCon.yDam|vavBoxCon.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBoxCon.TRooHeaSet|vavBoxCon.TRooCooSet|vavBoxCon.TRoo|vavBoxCon.conHea.y|vavBoxCon.conCoo.y|vavBoxCon.yDam|vavBoxCon.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 118.2 kB / 16.42 MB, free: 6.5 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.00137/0.001371, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.16 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.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 71.88 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144/1.146, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.005482/1.152, allocations: 3.238 MB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002167/1.154, allocations: 0.838 MB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000435/1.154, allocations: 14.19 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003529/1.155, allocations: 102.7 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002349/1.155, allocations: 98.56 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006195/1.155, allocations: 259.9 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009983/1.156, allocations: 0.7243 MB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007268/1.157, allocations: 419.8 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004342/1.158, allocations: 256.8 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003808/1.158, allocations: 282.9 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/1.158, allocations: 85.03 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/1.158, allocations: 84.28 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000176/1.159, allocations: 163.6 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003195/1.159, allocations: 321.2 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001465/1.16, allocations: 0.9688 MB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.16, allocations: 0 / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.228e-06/1.16, allocations: 0.6562 kB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.535e-05/1.16, allocations: 0 / 1.096 GB, free: 0.5234 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00199/1.162, allocations: 0.9221 MB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/1.163, allocations: 10.14 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/1.163, allocations: 69.97 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008012/1.164, allocations: 480.8 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.393e-05/1.164, allocations: 42.94 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/1.164, allocations: 52.52 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/1.165, allocations: 0.5421 MB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/1.165, allocations: 4.688 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.695e-05/1.165, allocations: 21.06 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/1.165, allocations: 17.12 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/1.166, allocations: 422 kB / 1.099 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/1.17, allocations: 1.823 MB / 1.101 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/1.171, allocations: 486 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004743/1.172, allocations: 205.8 kB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/1.172, allocations: 5.109 kB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/1.172, allocations: 45.81 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 1.914e-06/1.172, allocations: 0 / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=32): time 0.001368/1.173, allocations: 490.8 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/1.173, allocations: 107.1 kB / 1.102 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000775/1.174, allocations: 0.497 MB / 1.102 GB, free: 13 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.488e-05/1.174, allocations: 33.59 kB / 1.102 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000276/1.174, allocations: 302.2 kB / 1.103 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/1.174, allocations: 105.5 kB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/1.175, allocations: 73.39 kB / 1.103 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001996/1.175, allocations: 367 kB / 1.103 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/1.175, allocations: 150.2 kB / 1.103 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/1.176, allocations: 253.6 kB / 1.104 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008608/1.177, allocations: 352.6 kB / 1.104 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.177, allocations: 0.5938 kB / 1.104 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001093/1.178, allocations: 455.3 kB / 1.104 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/1.178, allocations: 9.547 kB / 1.104 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.178, allocations: 9.812 kB / 1.104 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/1.178, allocations: 3.344 kB / 1.104 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/1.178, allocations: 80.66 kB / 1.104 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/1.178, allocations: 4.266 kB / 1.104 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/1.178, allocations: 77.52 kB / 1.104 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/1.179, allocations: 14.7 kB / 1.104 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004288/1.179, allocations: 267.5 kB / 1.105 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003369/1.179, allocations: 217.5 kB / 1.105 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005435/1.18, allocations: 315.2 kB / 1.105 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/1.18, allocations: 5.5 kB / 1.105 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007355/1.181, allocations: 397.3 kB / 1.106 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/1.181, allocations: 5.219 kB / 1.106 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/1.181, allocations: 2.844 kB / 1.106 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/1.181, allocations: 12.06 kB / 1.106 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/1.181, allocations: 80.7 kB / 1.106 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/1.181, allocations: 5.125 kB / 1.106 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/1.181, allocations: 50.81 kB / 1.106 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/1.181, allocations: 14.95 kB / 1.106 GB, free: 10.87 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vavBoxCon.conCoo.con1.y,vavBoxCon.conHea.con1.y,vavBoxCon.hysWitHol.y,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001751/1.181, allocations: 208.8 kB / 1.106 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/1.182, allocations: 50.41 kB / 1.106 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009479/1.183, allocations: 397 kB / 1.106 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/1.183, allocations: 2.984 kB / 1.106 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.183, allocations: 0 / 1.106 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/1.183, allocations: 134 kB / 1.107 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/1.183, allocations: 14.59 kB / 1.107 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/1.183, allocations: 35.95 kB / 1.107 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/1.183, allocations: 25.34 kB / 1.107 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001037/1.184, allocations: 460 kB / 1.107 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001308/1.185, allocations: 0.7255 MB / 1.108 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003834/1.186, allocations: 163 kB / 1.108 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004854/1.186, allocations: 350.6 kB / 1.108 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of Backend: time 2.81e-07/1.186, allocations: 0 / 1.108 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001304/1.188, allocations: 487.1 kB / 1.109 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001849/1.19, allocations: 1.296 MB / 1.11 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of Templates: time 0.01842/1.208, allocations: 6.908 MB / 1.117 GB, free: 7.785 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & ./Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches