Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSch.occupied|cap.T|mode.y",fileNamePrefix="Buildings_10_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_10_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.001409/0.001409, 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.00149/0.00149, 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.411/1.411, 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 10.1.1-maint.10.0.x/package.mo): time 2.712/2.712, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 63.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169/1.171, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes): time 0.007058/1.178, allocations: 4.746 MB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004688/1.183, allocations: 2.108 MB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/1.184, allocations: 31.88 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005967/1.185, allocations: 178 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006395/1.185, allocations: 194.1 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/1.188, allocations: 0.8197 MB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0022/1.19, allocations: 1.863 MB / 1.177 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002104/1.192, allocations: 1.492 MB / 1.178 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006993/1.193, allocations: 0.6463 MB / 1.179 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006979/1.193, allocations: 0.6727 MB / 1.18 GB, free: 7 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002268/1.194, allocations: 192 kB / 1.18 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/1.194, allocations: 291.9 kB / 1.18 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003507/1.194, allocations: 410.8 kB / 1.181 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006994/1.195, allocations: 0.7502 MB / 1.181 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002315/1.197, allocations: 2.209 MB / 1.184 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.198, allocations: 0 / 1.184 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.733e-06/1.198, allocations: 0 / 1.184 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.923e-05/1.198, allocations: 0 / 1.184 GB, free: 3.156 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: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.002969/1.201, allocations: 1.694 MB / 1.185 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.201, allocations: 8.031 kB / 1.185 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002946/1.201, allocations: 159.1 kB / 1.185 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/1.202, allocations: 0.761 MB / 1.186 GB, free: 416 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/1.202, allocations: 127.3 kB / 1.186 GB, free: 288 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/1.202, allocations: 160.4 kB / 1.186 GB, free: 128 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/1.205, allocations: 1.616 MB / 1.188 GB, free: 14.4 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/1.205, allocations: 7.938 kB / 1.188 GB, free: 14.39 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/1.205, allocations: 60 kB / 1.188 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/1.205, allocations: 40 kB / 1.188 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/1.207, allocations: 1.201 MB / 1.189 GB, free: 13.09 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006737/1.214, allocations: 5.654 MB / 1.195 GB, free: 7.281 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/1.216, allocations: 1.17 MB / 1.196 GB, free: 6.023 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007409/1.217, allocations: 0.5211 MB / 1.196 GB, free: 5.48 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-05/1.217, allocations: 25 kB / 1.196 GB, free: 5.457 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000987/1.218, allocations: 0.6451 MB / 1.197 GB, free: 4.77 MB / 0.92 GB Notification: Performance of pre-optimization done (n=124): time 3.917e-06/1.218, allocations: 0 / 1.197 GB, free: 4.77 MB / 0.92 GB Notification: Performance of matching and sorting (n=124): time 0.002355/1.22, allocations: 1.272 MB / 1.198 GB, free: 3.496 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002459/1.22, allocations: 268.2 kB / 1.199 GB, free: 3.18 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009019/1.221, allocations: 0.6317 MB / 1.199 GB, free: 2.535 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/1.221, allocations: 81.69 kB / 1.199 GB, free: 2.449 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004736/1.222, allocations: 0.5276 MB / 1.2 GB, free: 1.91 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/1.222, allocations: 319.7 kB / 1.2 GB, free: 1.594 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004443/1.223, allocations: 339.4 kB / 1.2 GB, free: 1.258 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.223, allocations: 349.9 kB / 1.201 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007266/1.223, allocations: 423.8 kB / 1.201 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/1.225, allocations: 0.7664 MB / 1.202 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/1.226, allocations: 1.028 MB / 1.203 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/1.226, allocations: 4 kB / 1.203 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.002166/1.228, allocations: 1.27 MB / 1.204 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/1.228, allocations: 16 kB / 1.204 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/1.228, allocations: 8 kB / 1.204 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.934e-05/1.228, allocations: 19.94 kB / 1.204 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/1.229, allocations: 183.6 kB / 1.204 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.624e-05/1.229, allocations: 23.92 kB / 1.204 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007731/1.23, allocations: 170.6 kB / 1.204 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/1.23, allocations: 67.92 kB / 1.205 GB, free: 12.68 MB / 0.9356 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.0007445/1.231, allocations: 430.1 kB / 1.205 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/1.231, allocations: 86.97 kB / 1.205 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/1.233, allocations: 1.032 MB / 1.206 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/1.233, allocations: 11.97 kB / 1.206 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.233, allocations: 0 / 1.206 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/1.233, allocations: 275.6 kB / 1.206 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/1.233, allocations: 35.92 kB / 1.206 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/1.234, allocations: 55.95 kB / 1.206 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/1.234, allocations: 140.8 kB / 1.207 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002325/1.236, allocations: 1.705 MB / 1.208 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003038/1.239, allocations: 2.268 MB / 1.21 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000995/1.24, allocations: 0.5587 MB / 1.211 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005376/1.241, allocations: 358.8 kB / 1.211 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of Backend: time 4.8e-07/1.241, allocations: 0 / 1.211 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002992/1.244, allocations: 0.8876 MB / 1.212 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of SimCode: time 0.004367/1.248, allocations: 2.317 MB / 1.214 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of Templates: time 0.02802/1.276, allocations: 14.17 MB / 1.228 GB, free: 4.344 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.makefile (rm -f Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.pipe ; mkfifo Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.pipe >> ../files/Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.sim & ./Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_OperationModes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches