Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.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.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.runSig|con.avaSig|con.mWat_flow|con.opeMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.runSig|con.avaSig|con.mWat_flow|con.opeMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 111.4 kB / 16.42 MB, free: 6.469 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.002326/0.002326, allocations: 189.5 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 2.056/2.056, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.857/3.857, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.84 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9713/0.9727, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller): time 0.007699/0.9805, allocations: 4.529 MB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00673/0.9873, allocations: 3.048 MB / 1.216 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.9886, allocations: 23.88 kB / 1.216 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002318/0.991, allocations: 0.6803 MB / 1.217 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.9928, allocations: 417.7 kB / 1.217 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.9956, allocations: 0.9316 MB / 1.218 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003427/0.9991, allocations: 2.01 MB / 1.22 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002593/1.002, allocations: 1.205 MB / 1.221 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/1.003, allocations: 0.6969 MB / 1.222 GB, free: 44 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/1.005, allocations: 0.7312 MB / 1.222 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000492/1.005, allocations: 176 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007244/1.006, allocations: 263.9 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000656/1.007, allocations: 0.5492 MB / 1.223 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001489/1.008, allocations: 0.8663 MB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003249/1.011, allocations: 2.384 MB / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.011, allocations: 0 / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.224e-06/1.011, allocations: 0 / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.798e-05/1.011, allocations: 0 / 1.226 GB, free: 11.07 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.00507/1.017, allocations: 2.129 MB / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/1.017, allocations: 12.03 kB / 1.229 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005838/1.017, allocations: 206.5 kB / 1.229 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/1.019, allocations: 1.107 MB / 1.23 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/1.019, allocations: 144.5 kB / 1.23 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/1.02, allocations: 132 kB / 1.23 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003023/1.023, allocations: 1.357 MB / 1.231 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.491e-05/1.023, allocations: 3.938 kB / 1.231 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/1.023, allocations: 51.98 kB / 1.231 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/1.023, allocations: 28 kB / 1.232 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/1.025, allocations: 0.9132 MB / 1.232 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008405/1.034, allocations: 5.537 MB / 1.238 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/1.035, allocations: 0.8877 MB / 1.239 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007322/1.036, allocations: 435.3 kB / 1.239 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.664e-05/1.036, allocations: 13 kB / 1.239 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/1.037, allocations: 0.6409 MB / 1.24 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=102): time 3.948e-06/1.037, allocations: 0 / 1.24 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=102): time 0.002463/1.04, allocations: 1.21 MB / 1.241 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002172/1.04, allocations: 371.2 kB / 1.241 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/1.043, allocations: 1.599 MB / 1.243 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001917/1.043, allocations: 89.69 kB / 1.243 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007235/1.043, allocations: 0.7132 MB / 1.244 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/1.044, allocations: 252.7 kB / 1.244 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000473/1.044, allocations: 327.5 kB / 1.244 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.044, allocations: 309.1 kB / 1.244 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006948/1.045, allocations: 395.8 kB / 1.245 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000987/1.046, allocations: 0.7837 MB / 1.246 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/1.047, allocations: 0.9414 MB / 1.247 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/1.048, allocations: 7.938 kB / 1.247 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.002398/1.05, allocations: 1.284 MB / 1.248 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/1.05, allocations: 8 kB / 1.248 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/1.05, allocations: 12.06 kB / 1.248 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/1.05, allocations: 20 kB / 1.248 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/1.051, allocations: 176.1 kB / 1.248 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.84e-05/1.051, allocations: 23.88 kB / 1.248 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006961/1.051, allocations: 142.8 kB / 1.248 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.61e-05/1.052, allocations: 60 kB / 1.248 GB, free: 3.773 MB / 0.9669 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.0009142/1.052, allocations: 0.538 MB / 1.249 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/1.053, allocations: 150.1 kB / 1.249 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/1.055, allocations: 0.962 MB / 1.25 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/1.055, allocations: 7.969 kB / 1.25 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/1.055, allocations: 7.938 kB / 1.25 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/1.055, allocations: 239 kB / 1.25 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/1.055, allocations: 43.98 kB / 1.25 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/1.056, allocations: 47.95 kB / 1.25 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/1.056, allocations: 140.8 kB / 1.25 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002024/1.058, allocations: 1.721 MB / 1.252 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002126/1.06, allocations: 1.847 MB / 1.254 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008534/1.061, allocations: 0.5114 MB / 1.254 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001549/1.062, allocations: 0.9916 MB / 1.255 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of Backend: time 9.22e-07/1.062, allocations: 4 kB / 1.255 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003964/1.066, allocations: 1.172 MB / 1.256 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of SimCode: time 0.004975/1.071, allocations: 2.948 MB / 1.259 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of Templates: time 1.19/2.261, allocations: 17.35 MB / 1.276 GB, free: 7.246 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches