Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002203/0.002203, allocations: 217.7 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.307/3.307, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSch.occupied|cap.T|mode.y",fileNamePrefix="Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSch.occupied|cap.T|mode.y",fileNamePrefix="Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 75.73 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4483, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes): time 0.007357/0.4557, allocations: 4.412 MB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005003/0.4607, allocations: 2.089 MB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.4619, allocations: 39.75 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.4625, allocations: 181.9 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007539/0.4633, allocations: 190.2 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002439/0.4657, allocations: 0.8627 MB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002839/0.4686, allocations: 1.875 MB / 1.337 GB, free: 7.309 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/0.4707, allocations: 1.197 MB / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008189/0.4715, allocations: 0.658 MB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008249/0.4723, allocations: 0.6883 MB / 1.339 GB, free: 4.719 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002529/0.4726, allocations: 188 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005601/0.4731, allocations: 295.8 kB / 1.339 GB, free: 4.246 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004072/0.4735, allocations: 414.8 kB / 1.34 GB, free: 3.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.4742, allocations: 0.5948 MB / 1.34 GB, free: 3.242 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002652/0.4768, allocations: 2.23 MB / 1.343 GB, free: 1.004 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4769, allocations: 3.938 kB / 1.343 GB, free: 1 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.835e-06/0.4769, allocations: 0 / 1.343 GB, free: 1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.217e-05/0.4769, allocations: 0 / 1.343 GB, free: 1 MB / 1.029 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.003381/0.4803, allocations: 1.66 MB / 1.344 GB, free: 15.27 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.4803, allocations: 8.031 kB / 1.344 GB, free: 15.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009806/0.4813, allocations: 219.8 kB / 1.344 GB, free: 15.05 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.4827, allocations: 0.688 MB / 1.345 GB, free: 14.33 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.4828, allocations: 139.3 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/0.483, allocations: 152.4 kB / 1.345 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002817/0.4859, allocations: 1.629 MB / 1.347 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.4859, allocations: 3.938 kB / 1.347 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.486, allocations: 60 kB / 1.347 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/0.4861, allocations: 40 kB / 1.347 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.4883, allocations: 1.189 MB / 1.348 GB, free: 11 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007042/0.4953, allocations: 4.98 MB / 1.353 GB, free: 5.891 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.4973, allocations: 1.01 MB / 1.354 GB, free: 4.801 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007787/0.498, allocations: 471.1 kB / 1.355 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.106e-05/0.4981, allocations: 21 kB / 1.355 GB, free: 4.297 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.4992, allocations: 0.6297 MB / 1.355 GB, free: 3.629 MB / 1.045 GB Notification: Performance of pre-optimization done (n=124): time 4.017e-06/0.4992, allocations: 0 / 1.355 GB, free: 3.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=124): time 0.002432/0.5016, allocations: 1.261 MB / 1.356 GB, free: 2.363 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/0.5018, allocations: 265.2 kB / 1.357 GB, free: 2.051 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008429/0.5026, allocations: 0.592 MB / 1.357 GB, free: 1.445 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.5028, allocations: 89.69 kB / 1.357 GB, free: 1.352 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/0.5033, allocations: 0.5368 MB / 1.358 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/0.5036, allocations: 333.4 kB / 1.358 GB, free: 488 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004641/0.5041, allocations: 339.5 kB / 1.358 GB, free: 144 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.5042, allocations: 345.9 kB / 1.359 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007576/0.505, allocations: 419.8 kB / 1.359 GB, free: 15.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.5061, allocations: 0.8417 MB / 1.36 GB, free: 14.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.5077, allocations: 1.013 MB / 1.361 GB, free: 13.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.5077, allocations: 4 kB / 1.361 GB, free: 13.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.002168/0.5099, allocations: 1.254 MB / 1.362 GB, free: 11.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.5099, allocations: 14.19 kB / 1.362 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/0.5099, allocations: 15.94 kB / 1.362 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.815e-05/0.51, allocations: 20 kB / 1.362 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006715/0.5106, allocations: 175.6 kB / 1.362 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.05e-05/0.5107, allocations: 23.92 kB / 1.363 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007382/0.5114, allocations: 163 kB / 1.363 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.263e-05/0.5115, allocations: 64 kB / 1.363 GB, free: 11.51 MB / 1.061 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.0007718/0.5123, allocations: 434.1 kB / 1.363 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.5124, allocations: 87.48 kB / 1.363 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.5141, allocations: 0.9163 MB / 1.364 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.5141, allocations: 11.97 kB / 1.364 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5141, allocations: 3.938 kB / 1.364 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/0.5145, allocations: 179.1 kB / 1.364 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.5146, allocations: 28 kB / 1.364 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/0.5151, allocations: 63.88 kB / 1.364 GB, free: 9.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003388/0.5154, allocations: 156.8 kB / 1.365 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00231/0.5177, allocations: 1.606 MB / 1.366 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002795/0.5205, allocations: 2.167 MB / 1.368 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008336/0.5213, allocations: 495.9 kB / 1.369 GB, free: 5.328 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004164/0.5217, allocations: 314.9 kB / 1.369 GB, free: 5.023 MB / 1.061 GB Notification: Performance of Backend: time 8.22e-07/0.5217, allocations: 0 / 1.369 GB, free: 5.023 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002529/0.5243, allocations: 0.8136 MB / 1.37 GB, free: 4.203 MB / 1.061 GB Notification: Performance of SimCode: time 0.003787/0.5281, allocations: 2.285 MB / 1.372 GB, free: 1.859 MB / 1.061 GB Notification: Performance of Templates: time 0.02915/0.5572, allocations: 15.49 MB / 1.387 GB, free: 2.598 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.pipe ; mkfifo Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.pipe >> ../files/Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.sim & ./Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_OperationModes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.124410707998322]