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.001705/0.001705, allocations: 108.5 kB / 16.41 MB, free: 6.465 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.001877/0.001877, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.441/1.441, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.741/2.741, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 67.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.047, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes): time 0.007388/1.055, allocations: 4.755 MB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004562/1.059, allocations: 2.096 MB / 1.215 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/1.06, allocations: 31.88 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005401/1.061, allocations: 178 kB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005888/1.062, allocations: 190.1 kB / 1.216 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/1.064, allocations: 0.8227 MB / 1.216 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002101/1.066, allocations: 1.851 MB / 1.218 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/1.068, allocations: 1.492 MB / 1.22 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007058/1.069, allocations: 0.6463 MB / 1.22 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007095/1.069, allocations: 0.6766 MB / 1.221 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002214/1.07, allocations: 188 kB / 1.221 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/1.07, allocations: 287.9 kB / 1.221 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003315/1.07, allocations: 418.8 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006235/1.071, allocations: 0.7385 MB / 1.222 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/1.073, allocations: 2.209 MB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/1.073, allocations: 0 / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.541e-06/1.073, allocations: 4 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.392e-05/1.073, allocations: 0 / 1.225 GB, free: 12.98 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.002902/1.076, allocations: 1.698 MB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.076, allocations: 8.031 kB / 1.226 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/1.077, allocations: 163.1 kB / 1.226 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/1.078, allocations: 0.761 MB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/1.078, allocations: 123.3 kB / 1.227 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/1.078, allocations: 164.3 kB / 1.227 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/1.081, allocations: 1.6 MB / 1.229 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/1.081, allocations: 11.92 kB / 1.229 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/1.081, allocations: 64 kB / 1.229 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/1.081, allocations: 39.94 kB / 1.229 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/1.083, allocations: 1.205 MB / 1.23 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006717/1.09, allocations: 5.654 MB / 1.236 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/1.091, allocations: 1.17 MB / 1.237 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007464/1.092, allocations: 0.525 MB / 1.237 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.951e-05/1.092, allocations: 21.06 kB / 1.237 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009877/1.093, allocations: 0.6492 MB / 1.238 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=124): time 4.098e-06/1.093, allocations: 0 / 1.238 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=124): time 0.002418/1.096, allocations: 1.269 MB / 1.239 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/1.096, allocations: 276.2 kB / 1.24 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008268/1.097, allocations: 0.6309 MB / 1.24 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/1.097, allocations: 81.69 kB / 1.24 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/1.097, allocations: 0.5159 MB / 1.241 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/1.098, allocations: 323.7 kB / 1.241 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004556/1.098, allocations: 339.4 kB / 1.241 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.098, allocations: 353.9 kB / 1.242 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/1.099, allocations: 423.8 kB / 1.242 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/1.1, allocations: 0.7703 MB / 1.243 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/1.101, allocations: 1.024 MB / 1.244 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/1.101, allocations: 4 kB / 1.244 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.002017/1.103, allocations: 1.273 MB / 1.245 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.104, allocations: 8 kB / 1.245 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/1.104, allocations: 8 kB / 1.245 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.355e-05/1.104, allocations: 20 kB / 1.245 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000651/1.104, allocations: 179.5 kB / 1.245 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.857e-05/1.104, allocations: 28.48 kB / 1.245 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/1.105, allocations: 169.4 kB / 1.246 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.105, allocations: 67.92 kB / 1.246 GB, free: 6.5 MB / 0.9669 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.000698/1.106, allocations: 430.2 kB / 1.246 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/1.106, allocations: 86.95 kB / 1.246 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/1.108, allocations: 1.043 MB / 1.247 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/1.108, allocations: 7.969 kB / 1.247 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.108, allocations: 4 kB / 1.247 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/1.108, allocations: 267.6 kB / 1.247 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/1.108, allocations: 39.92 kB / 1.247 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/1.109, allocations: 55.95 kB / 1.248 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002853/1.109, allocations: 144.8 kB / 1.248 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002168/1.111, allocations: 1.693 MB / 1.249 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002611/1.114, allocations: 2.28 MB / 1.252 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007956/1.115, allocations: 0.543 MB / 1.252 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004174/1.115, allocations: 358.8 kB / 1.252 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of Backend: time 8.22e-07/1.115, allocations: 3.938 kB / 1.252 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002477/1.118, allocations: 0.8875 MB / 1.253 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of SimCode: time 0.003458/1.121, allocations: 2.31 MB / 1.256 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of Templates: time 0.03569/1.157, allocations: 14.19 MB / 1.269 GB, free: 14.17 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