Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|actMod",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|actMod",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.00145, allocations: 110.5 kB / 16.42 MB, free: 6.496 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.001518/0.001518, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.412/1.412, 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 9.1.3-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.3 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.91 kB / 0.9516 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9433/0.9448, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005328/0.9501, allocations: 3.024 MB / 1.092 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003378/0.9535, allocations: 1.802 MB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003505/0.9539, allocations: 13.16 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.9554, allocations: 433.7 kB / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007487/0.9562, allocations: 267.1 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.9577, allocations: 472.7 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.9593, allocations: 0.8216 MB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.9604, allocations: 487.3 kB / 1.096 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006364/0.961, allocations: 309.5 kB / 1.096 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005887/0.9616, allocations: 312.6 kB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.9618, allocations: 58.88 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.9623, allocations: 129 kB / 1.097 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003758/0.9627, allocations: 224 kB / 1.097 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004715/0.9632, allocations: 350.8 kB / 1.097 GB, free: 364 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.965, allocations: 0.8709 MB / 1.098 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.965, allocations: 5 kB / 1.098 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.596e-06/0.965, allocations: 0 / 1.098 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.017e-05/0.965, allocations: 0 / 1.098 GB, free: 15.96 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002225/0.9673, allocations: 1.129 MB / 1.099 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.9673, allocations: 9.125 kB / 1.099 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.9675, allocations: 97.72 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008965/0.9684, allocations: 0.5251 MB / 1.1 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.9685, allocations: 74.73 kB / 1.1 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.9687, allocations: 60.67 kB / 1.1 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.9698, allocations: 0.5502 MB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.9698, allocations: 0.9688 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-05/0.9699, allocations: 19.19 kB / 1.1 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.9699, allocations: 11.84 kB / 1.1 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007149/0.9706, allocations: 348.1 kB / 1.101 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/0.9734, allocations: 1.921 MB / 1.103 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.9741, allocations: 354.8 kB / 1.103 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.9744, allocations: 168.8 kB / 1.103 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.257e-05/0.9745, allocations: 5.531 kB / 1.103 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005555/0.975, allocations: 263.5 kB / 1.103 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 2.425e-06/0.9751, allocations: 0 / 1.103 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.001333/0.9764, allocations: 0.4921 MB / 1.104 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.9765, allocations: 196.2 kB / 1.104 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.9776, allocations: 0.7458 MB / 1.105 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/0.9777, allocations: 47.97 kB / 1.105 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.9781, allocations: 372.4 kB / 1.105 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.9782, allocations: 113.3 kB / 1.105 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.9784, allocations: 137.4 kB / 1.105 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.9786, allocations: 335 kB / 1.106 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.9789, allocations: 135.8 kB / 1.106 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.9793, allocations: 321.7 kB / 1.106 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/0.98, allocations: 390 kB / 1.106 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.98, allocations: 5.094 kB / 1.106 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009624/0.981, allocations: 0.5213 MB / 1.107 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.981, allocations: 11.03 kB / 1.107 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.981, allocations: 5.188 kB / 1.107 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.9811, allocations: 8.031 kB / 1.107 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.9814, allocations: 72.17 kB / 1.107 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/0.9814, allocations: 8.797 kB / 1.107 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.9817, allocations: 69.34 kB / 1.107 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.9818, allocations: 26.11 kB / 1.107 GB, free: 9.871 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition4.t_start,$PRE.transition4.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition3.localCondition,transition4.enableFire,transition3.t_start,$PRE.transition3.t_start,transition3.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.inPort[2].occupied,off.localActive,$PRE.off.localActive,off.active,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,pumOn.oldActive,$PRE.pumOn.oldActive,pumOn.newActive,$PRE.pumOn.newActive,pumOn.outPort[1].reset,pumOn.localActive,$PRE.pumOn.localActive,pumOn.active,staBy.oldActive,$PRE.staBy.oldActive,staBy.newActive,$PRE.staBy.newActive,staBy.outPort[2].available,staBy.localActive,$PRE.staBy.localActive,staBy.active,transition2.enableFire,transition2.localCondition,transition1.enableFire,transition1.localCondition,actMod,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.000401/0.9822, allocations: 286.1 kB / 1.107 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.9823, allocations: 69.23 kB / 1.108 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000891/0.9832, allocations: 430.3 kB / 1.108 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.9832, allocations: 3.266 kB / 1.108 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.9832, allocations: 1.062 kB / 1.108 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.9834, allocations: 151.2 kB / 1.108 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.263e-05/0.9835, allocations: 14.81 kB / 1.108 GB, free: 9.316 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.9837, allocations: 23.11 kB / 1.108 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.9838, allocations: 52.75 kB / 1.108 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009383/0.9848, allocations: 0.6906 MB / 1.109 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009637/0.9857, allocations: 0.8129 MB / 1.11 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003461/0.9861, allocations: 186.1 kB / 1.11 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007201/0.9868, allocations: 0.4965 MB / 1.11 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of Backend: time 7.31e-07/0.9868, allocations: 4 kB / 1.11 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002347/0.9892, allocations: 0.6845 MB / 1.111 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002744/0.992, allocations: 1.644 MB / 1.113 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of Templates: time 0.02161/1.014, allocations: 7.226 MB / 1.12 GB, free: 5.992 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches