Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.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.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSch.occupied|cap.T|mode.y",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSch.occupied|cap.T|mode.y",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001796/0.001796, allocations: 189.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.436/1.436, 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 11.0.1-master/package.mo): time 2.788/2.788, allocations: 469.4 MB / 0.7428 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 63.89 kB / 1.066 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.091, allocations: 159.1 MB / 1.221 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes): time 0.006521/1.097, allocations: 4.747 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004422/1.102, allocations: 2.104 MB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000988/1.103, allocations: 31.88 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005398/1.103, allocations: 181.9 kB / 1.228 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006043/1.104, allocations: 198.1 kB / 1.228 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/1.106, allocations: 0.8199 MB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002162/1.108, allocations: 1.852 MB / 1.231 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/1.11, allocations: 1.496 MB / 1.232 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007119/1.111, allocations: 0.6346 MB / 1.233 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006928/1.112, allocations: 0.6806 MB / 1.233 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002365/1.112, allocations: 188 kB / 1.234 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005015/1.113, allocations: 283.9 kB / 1.234 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003726/1.113, allocations: 418.8 kB / 1.234 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007569/1.114, allocations: 0.7463 MB / 1.235 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002252/1.116, allocations: 2.209 MB / 1.237 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.116, allocations: 4 kB / 1.237 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.184e-06/1.116, allocations: 0 / 1.237 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.991e-05/1.116, allocations: 0 / 1.237 GB, free: 1.641 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.00282/1.119, allocations: 1.694 MB / 1.239 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.119, allocations: 8.625 kB / 1.239 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/1.119, allocations: 163.1 kB / 1.239 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/1.12, allocations: 0.761 MB / 1.24 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/1.12, allocations: 127.3 kB / 1.24 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/1.121, allocations: 160.4 kB / 1.24 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/1.123, allocations: 1.608 MB / 1.241 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/1.123, allocations: 11.84 kB / 1.241 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/1.123, allocations: 67.94 kB / 1.242 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/1.123, allocations: 39.98 kB / 1.242 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/1.125, allocations: 1.197 MB / 1.243 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00666/1.132, allocations: 5.661 MB / 1.248 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/1.134, allocations: 1.174 MB / 1.249 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007451/1.135, allocations: 0.5293 MB / 1.25 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.996e-05/1.135, allocations: 16.94 kB / 1.25 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009996/1.136, allocations: 0.6414 MB / 1.251 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=124): time 3.937e-06/1.136, allocations: 0 / 1.251 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=124): time 0.002268/1.138, allocations: 1.276 MB / 1.252 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/1.138, allocations: 264.3 kB / 1.252 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007695/1.139, allocations: 0.6309 MB / 1.253 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/1.139, allocations: 81.69 kB / 1.253 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003971/1.14, allocations: 0.5244 MB / 1.253 GB, free: 400 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/1.14, allocations: 323.8 kB / 1.254 GB, free: 72 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004328/1.14, allocations: 339.5 kB / 1.254 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.14, allocations: 349.9 kB / 1.254 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007081/1.141, allocations: 423.8 kB / 1.255 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009422/1.142, allocations: 0.7703 MB / 1.255 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/1.143, allocations: 1.021 MB / 1.256 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/1.143, allocations: 4 kB / 1.256 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.001988/1.145, allocations: 1.277 MB / 1.258 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/1.145, allocations: 12.22 kB / 1.258 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/1.146, allocations: 12 kB / 1.258 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-05/1.146, allocations: 16 kB / 1.258 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006333/1.146, allocations: 179.6 kB / 1.258 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.872e-05/1.146, allocations: 23.92 kB / 1.258 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/1.147, allocations: 166.6 kB / 1.258 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.147, allocations: 67.92 kB / 1.258 GB, free: 11.16 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 134 ($PRE.operationModes.start.enableFire,$PRE.operationModes.t2.enableFire,$PRE.operationModes.t1.enableFire,$PRE.operationModes.t6.enableFire,$PRE.operationModes.t5.enableFire,$PRE.operationModes.t3.enableFire,$PRE.operationModes.t4.enableFire,$PRE.operationModes.t7.enableFire,$PRE.operationModes.t9.enableFire,$PRE.operationModes.t8.enableFire,operationModes.start.t_start,$PRE.operationModes.start.t_start,operationModes.t5.t_start,$PRE.operationModes.t5.t_start,operationModes.t3.t_start,$PRE.operationModes.t3.t_start,operationModes.t4.t_start,$PRE.operationModes.t4.t_start,operationModes.t7.t_start,$PRE.operationModes.t7.t_start,operationModes.t9.t_start,$PRE.operationModes.t9.t_start,operationModes.t8.t_start,$PRE.operationModes.t8.t_start,operationModes.stateGraphRoot.resume,operationModes.stateGraphRoot.suspend,operationModes.start.condition,operationModes.preCooSta.and3.u[2],occSch.tNext,$PRE.occSch.tNext,occSch.tNonOcc,$PRE.occSch.tNonOcc,occSch.tOcc,$PRE.occSch.tOcc,occSch.occupied,$PRE.occSch.occupied,modSel1.y,modSel.y,operationModes.or2.y,operationModes.yEco,operationModes.yFan,operationModes.sum.u[6],operationModes.sum.u[5],operationModes.sum.u[4],operationModes.sum.u[3],operationModes.sum.u[2],operationModes.sum.u[1],operationModes.t8.enableFire,operationModes.not1.y,operationModes.t9.enableFire,operationModes.t9.localCondition,operationModes.preCooSta.and3.u[3],operationModes.preCooSta.and3.u[1],operationModes.t7.enableFire,operationModes.t7.localCondition,operationModes.morPreCoo.active,operationModes.morPreCoo.oldActive,$PRE.operationModes.morPreCoo.oldActive,operationModes.morPreCoo.newActive,$PRE.operationModes.morPreCoo.newActive,operationModes.morPreCoo.localActive,$PRE.operationModes.morPreCoo.localActive,operationModes.t4.enableFire,operationModes.t4.localCondition,operationModes.t3.enableFire,operationModes.t3.localCondition,operationModes.occ.active,operationModes.occ.oldActive,$PRE.operationModes.occ.oldActive,operationModes.occ.newActive,$PRE.operationModes.occ.newActive,operationModes.occ.inPort[3].occupied,operationModes.occ.inPort[2].occupied,operationModes.occ.localActive,$PRE.operationModes.occ.localActive,operationModes.t5.enableFire,operationModes.t5.localCondition,operationModes.t6.t_start,$PRE.operationModes.t6.t_start,operationModes.t6.fire,operationModes.t6.enableFire,operationModes.morWarUp.active,operationModes.morWarUp.oldActive,$PRE.operationModes.morWarUp.oldActive,operationModes.morWarUp.newActive,$PRE.operationModes.morWarUp.newActive,operationModes.morWarUp.inPort[2].occupied,operationModes.morWarUp.localActive,$PRE.operationModes.morWarUp.localActive,operationModes.stateGraphRoot.activeSteps,operationModes.t1.t_start,$PRE.operationModes.t1.t_start,operationModes.t1.fire,operationModes.t1.enableFire,operationModes.t1.localCondition,operationModes.t2.t_start,$PRE.operationModes.t2.t_start,operationModes.t2.fire,operationModes.t2.enableFire,operationModes.t2.localCondition,operationModes.unOccNigSetBac.active,operationModes.unOccNigSetBac.oldActive,$PRE.operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.newActive,$PRE.operationModes.unOccNigSetBac.newActive,operationModes.unOccNigSetBac.outPort[2].available,operationModes.unOccNigSetBac.localActive,$PRE.operationModes.unOccNigSetBac.localActive,operationModes.unOccOff.active,operationModes.unOccOff.oldActive,$PRE.operationModes.unOccOff.oldActive,operationModes.unOccOff.newActive,$PRE.operationModes.unOccOff.newActive,operationModes.unOccOff.outPort[4].available,operationModes.unOccOff.outPort[3].available,operationModes.unOccOff.outPort[2].available,operationModes.unOccOff.inPort[3].occupied,operationModes.unOccOff.inPort[2].occupied,operationModes.unOccOff.localActive,$PRE.operationModes.unOccOff.localActive,operationModes.start.enableFire,operationModes.initialStepWithSignal.active,operationModes.initialStepWithSignal.oldActive,$PRE.operationModes.initialStepWithSignal.oldActive,operationModes.initialStepWithSignal.newActive,$PRE.operationModes.initialStepWithSignal.newActive,operationModes.initialStepWithSignal.localActive,$PRE.operationModes.initialStepWithSignal.localActive,controlBus.controlMode,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006809/1.148, allocations: 446 kB / 1.259 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/1.148, allocations: 90.88 kB / 1.259 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/1.15, allocations: 1.024 MB / 1.26 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/1.15, allocations: 7.969 kB / 1.26 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.15, allocations: 4 kB / 1.26 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003527/1.15, allocations: 267.6 kB / 1.26 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/1.15, allocations: 39.92 kB / 1.26 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/1.151, allocations: 51.95 kB / 1.26 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/1.151, allocations: 148.8 kB / 1.26 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002148/1.153, allocations: 1.705 MB / 1.262 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002576/1.156, allocations: 2.272 MB / 1.264 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007859/1.156, allocations: 0.5586 MB / 1.265 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004285/1.157, allocations: 354.8 kB / 1.265 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of Backend: time 6.51e-07/1.157, allocations: 0 / 1.265 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002489/1.159, allocations: 0.8857 MB / 1.266 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of SimCode: time 0.003737/1.163, allocations: 2.3 MB / 1.268 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of Templates: time 0.03176/1.195, allocations: 14.17 MB / 1.282 GB, free: 2.84 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.makefile (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.sim & ./Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_OperationModes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches