Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.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.001386/0.001386, allocations: 101.1 kB / 19.71 MB, free: 2.105 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.001551/0.001551, allocations: 208 kB / 23 MB, free: 4.918 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.604/1.604, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.475/3.475, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.runSig|con.avaSig|con.mWat_flow|con.opeMod",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.runSig|con.avaSig|con.mWat_flow|con.opeMod",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") [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.002137/0.002137, allocations: 67.08 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.484/0.4862, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller): time 0.007989/0.4942, allocations: 4.224 MB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006536/0.5007, allocations: 3.067 MB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009009/0.5016, allocations: 31.75 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.5037, allocations: 0.6786 MB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.5051, allocations: 497.5 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.5073, allocations: 0.8647 MB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002706/0.51, allocations: 2.061 MB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.5117, allocations: 0.9957 MB / 1.339 GB, free: 4.539 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009527/0.5126, allocations: 0.7201 MB / 1.34 GB, free: 3.816 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009738/0.5136, allocations: 0.7623 MB / 1.341 GB, free: 3.051 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002689/0.5139, allocations: 180 kB / 1.341 GB, free: 2.875 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005626/0.5144, allocations: 263.9 kB / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006116/0.5151, allocations: 0.5608 MB / 1.342 GB, free: 2.055 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000733/0.5158, allocations: 0.6565 MB / 1.342 GB, free: 1.395 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00293/0.5187, allocations: 2.435 MB / 1.345 GB, free: 14.95 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.5187, allocations: 3.984 kB / 1.345 GB, free: 14.95 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.163e-06/0.5187, allocations: 4 kB / 1.345 GB, free: 14.94 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.904e-05/0.5188, allocations: 4 kB / 1.345 GB, free: 14.94 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004158/0.5229, allocations: 2.123 MB / 1.347 GB, free: 12.74 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/0.523, allocations: 12.02 kB / 1.347 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009769/0.524, allocations: 259.5 kB / 1.347 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.5259, allocations: 1.047 MB / 1.348 GB, free: 11.39 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.5261, allocations: 269.2 kB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.5263, allocations: 136 kB / 1.348 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.5288, allocations: 1.365 MB / 1.35 GB, free: 9.465 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.5289, allocations: 3.938 kB / 1.35 GB, free: 9.461 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.529, allocations: 59.98 kB / 1.35 GB, free: 9.402 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/0.529, allocations: 28 kB / 1.35 GB, free: 9.375 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.5308, allocations: 0.9054 MB / 1.351 GB, free: 8.465 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007074/0.5378, allocations: 4.972 MB / 1.356 GB, free: 3.344 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.5393, allocations: 0.8108 MB / 1.356 GB, free: 2.434 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006586/0.54, allocations: 386.3 kB / 1.357 GB, free: 2.031 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-05/0.54, allocations: 13 kB / 1.357 GB, free: 2.016 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.5411, allocations: 0.666 MB / 1.357 GB, free: 1.301 MB / 1.045 GB Notification: Performance of pre-optimization done (n=102): time 3.467e-06/0.5411, allocations: 0 / 1.357 GB, free: 1.301 MB / 1.045 GB Notification: Performance of matching and sorting (n=102): time 0.00241/0.5436, allocations: 1.23 MB / 1.359 GB, free: 68 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002006/0.5438, allocations: 315.7 kB / 1.359 GB, free: 15.69 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.546, allocations: 1.627 MB / 1.36 GB, free: 14.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.5462, allocations: 89.69 kB / 1.361 GB, free: 13.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008117/0.547, allocations: 0.7339 MB / 1.361 GB, free: 13.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.5473, allocations: 262 kB / 1.362 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005146/0.5478, allocations: 331.5 kB / 1.362 GB, free: 12.62 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5479, allocations: 305.1 kB / 1.362 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00073/0.5486, allocations: 412 kB / 1.363 GB, free: 11.92 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.5498, allocations: 0.8708 MB / 1.363 GB, free: 10.87 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.5513, allocations: 0.9453 MB / 1.364 GB, free: 9.785 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.457e-06/0.5513, allocations: 7.938 kB / 1.364 GB, free: 9.777 MB / 1.061 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.002415/0.5537, allocations: 1.293 MB / 1.366 GB, free: 8.477 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.5538, allocations: 11.94 kB / 1.366 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.5538, allocations: 8.062 kB / 1.366 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.724e-05/0.5538, allocations: 24 kB / 1.366 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/0.5544, allocations: 167.6 kB / 1.366 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.988e-05/0.5545, allocations: 23.94 kB / 1.366 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006947/0.5552, allocations: 139.1 kB / 1.366 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.72e-05/0.5553, allocations: 56 kB / 1.366 GB, free: 8.055 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 136 ($PRE.con.transition3.enableFire,$PRE.con.transition5.enableFire,$PRE.con.transition9.enableFire,$PRE.con.transition7.enableFire,$PRE.con.transition10.enableFire,$PRE.con.transition1.enableFire,$PRE.con.transition2.enableFire,$PRE.con.transition8.enableFire,$PRE.con.transition6.enableFire,$PRE.con.transition4.enableFire,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition10,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition9,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,con.transition3.t_start,$PRE.con.transition3.t_start,con.transition5.t_start,$PRE.con.transition5.t_start,con.transition9.t_start,$PRE.con.transition9.t_start,con.transition7.t_start,$PRE.con.transition7.t_start,con.transition10.t_start,$PRE.con.transition10.t_start,con.transition1.t_start,$PRE.con.transition1.t_start,con.transition2.t_start,$PRE.con.transition2.t_start,con.transition8.t_start,$PRE.con.transition8.t_start,con.transition6.t_start,$PRE.con.transition6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,stateGraphRoot.activeSteps,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,con.timer.entryTime,$PRE.con.timer.entryTime,con.timer.passed,$PRE.con.timer.passed,con.transition4.t_start,$PRE.con.transition4.t_start,con.transition4.enableFire,con.transition4.localCondition,con.plaOff.oldActive,$PRE.con.plaOff.oldActive,con.plaOff.newActive,$PRE.con.plaOff.newActive,con.plaOff.inPort[3].occupied,con.plaOff.inPort[2].occupied,con.plaOff.localActive,$PRE.con.plaOff.localActive,con.plaOff.active,con.transition6.enableFire,con.transition6.localCondition,con.warUpCtr.timer.entryTime,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.passed,$PRE.con.warUpCtr.timer.passed,con.transition8.enableFire,con.nor.oldActive,$PRE.con.nor.oldActive,con.nor.newActive,$PRE.con.nor.newActive,con.nor.localActive,$PRE.con.nor.localActive,con.nor.active,con.transition2.enableFire,con.transition1.enableFire,con.assWatMas.hys.y,$PRE.con.assWatMas.hys.y,con.assWatMas.nand.y,con.transition10.enableFire,con.transition10.localCondition,con.transition7.enableFire,con.transition7.localCondition,con.transition9.enableFire,con.transition5.enableFire,con.transition3.enableFire,con.hys.y,$PRE.con.hys.y,con.cooDow.active,con.cooDow.oldActive,$PRE.con.cooDow.oldActive,con.cooDow.newActive,$PRE.con.cooDow.newActive,con.cooDow.outPort[2].available,con.cooDow.inPort[2].occupied,con.cooDow.localActive,$PRE.con.cooDow.localActive,con.warUp.active,con.warUp.oldActive,$PRE.con.warUp.oldActive,con.warUp.newActive,$PRE.con.warUp.newActive,con.warUp.outPort[2].available,con.warUp.inPort[2].occupied,con.warUp.inPort[1].set,con.warUp.localActive,$PRE.con.warUp.localActive,con.pumOn.oldActive,$PRE.con.pumOn.oldActive,con.pumOn.newActive,$PRE.con.pumOn.newActive,con.pumOn.outPort[2].available,con.pumOn.localActive,$PRE.con.pumOn.localActive,con.pumOn.active,con.staBy.oldActive,$PRE.con.staBy.oldActive,con.staBy.newActive,$PRE.con.staBy.newActive,con.staBy.outPort[2].available,con.staBy.localActive,$PRE.con.staBy.localActive,con.staBy.active,con.opeMod,con.runSig,con.avaSig,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (183): * Single equations (assignments): 183 * 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.0008582/0.5561, allocations: 0.5424 MB / 1.367 GB, free: 7.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/0.5564, allocations: 162.9 kB / 1.367 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/0.5581, allocations: 0.9036 MB / 1.368 GB, free: 6.422 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.5581, allocations: 3.984 kB / 1.368 GB, free: 6.418 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/0.5581, allocations: 4 kB / 1.368 GB, free: 6.414 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/0.5584, allocations: 170.7 kB / 1.368 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.5586, allocations: 39.98 kB / 1.368 GB, free: 6.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.559, allocations: 47.95 kB / 1.368 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003376/0.5593, allocations: 160.7 kB / 1.368 GB, free: 6.004 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002089/0.5614, allocations: 1.667 MB / 1.37 GB, free: 4.324 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002142/0.5635, allocations: 1.809 MB / 1.371 GB, free: 2.484 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007921/0.5643, allocations: 447.7 kB / 1.372 GB, free: 2.051 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001443/0.5658, allocations: 1.008 MB / 1.373 GB, free: 1.043 MB / 1.061 GB Notification: Performance of Backend: time 5.41e-07/0.5658, allocations: 4 kB / 1.373 GB, free: 1.039 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004352/0.5701, allocations: 1.122 MB / 1.374 GB, free: 108 kB / 1.061 GB Notification: Performance of SimCode: time 0.004909/0.575, allocations: 2.994 MB / 1.377 GB, free: 13.05 MB / 1.076 GB Notification: Performance of Templates: time 0.03581/0.6108, allocations: 18.23 MB / 1.395 GB, free: 11.04 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.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.73786426299921]