Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001773/0.001773, allocations: 116.5 kB / 16.81 MB, free: 5.77 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.001972/0.001972, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.45/1.45, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.811/2.811, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 65.3 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4185, allocations: 168.7 MB / 1.262 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005062/0.4236, allocations: 3.04 MB / 1.265 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003487/0.4271, allocations: 1.821 MB / 1.267 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003328/0.4274, allocations: 11.94 kB / 1.267 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.4287, allocations: 440 kB / 1.267 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006456/0.4293, allocations: 274.7 kB / 1.268 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.4305, allocations: 482.3 kB / 1.268 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009312/0.4315, allocations: 0.807 MB / 1.269 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000573/0.432, allocations: 411.9 kB / 1.269 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.4324, allocations: 302.9 kB / 1.269 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.4328, allocations: 334.4 kB / 1.27 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.716e-05/0.4329, allocations: 56 kB / 1.27 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.4332, allocations: 123.9 kB / 1.27 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.4334, allocations: 215.3 kB / 1.27 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003522/0.4338, allocations: 357.7 kB / 1.27 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.4348, allocations: 0.8672 MB / 1.271 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4348, allocations: 4 kB / 1.271 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4348, allocations: 0 / 1.271 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.4348, allocations: 0 / 1.271 GB, free: 3.43 MB / 0.9825 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.001753/0.4366, allocations: 1.17 MB / 1.272 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4366, allocations: 8.625 kB / 1.272 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.4368, allocations: 96.33 kB / 1.273 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007544/0.4375, allocations: 0.5327 MB / 1.273 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.461e-05/0.4376, allocations: 75.27 kB / 1.273 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.74e-05/0.4377, allocations: 55.94 kB / 1.273 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009384/0.4386, allocations: 0.5463 MB / 1.274 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.4387, allocations: 3.938 kB / 1.274 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/0.4387, allocations: 24 kB / 1.274 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.4387, allocations: 15.98 kB / 1.274 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006395/0.4394, allocations: 339.7 kB / 1.274 GB, free: 432 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.4418, allocations: 1.925 MB / 1.276 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.4425, allocations: 329 kB / 1.276 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.4427, allocations: 151.4 kB / 1.276 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.4428, allocations: 15.98 kB / 1.276 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000475/0.4432, allocations: 262.5 kB / 1.277 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 1.813e-06/0.4432, allocations: 0 / 1.277 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.001036/0.4443, allocations: 0.4975 MB / 1.277 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.4444, allocations: 191.9 kB / 1.277 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008951/0.4453, allocations: 0.7541 MB / 1.278 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.4454, allocations: 45.7 kB / 1.278 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.4457, allocations: 373.7 kB / 1.279 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.4458, allocations: 119.1 kB / 1.279 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.446, allocations: 142.3 kB / 1.279 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4462, allocations: 326 kB / 1.279 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.4465, allocations: 145.2 kB / 1.279 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.4469, allocations: 319.5 kB / 1.28 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000605/0.4475, allocations: 389.2 kB / 1.28 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4475, allocations: 0 / 1.28 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009113/0.4484, allocations: 0.5304 MB / 1.28 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4484, allocations: 8 kB / 1.28 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4485, allocations: 4 kB / 1.28 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.4485, allocations: 8 kB / 1.28 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.4487, allocations: 71.83 kB / 1.281 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.4488, allocations: 11.94 kB / 1.281 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.449, allocations: 64.08 kB / 1.281 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.4491, allocations: 28 kB / 1.281 GB, free: 9.391 MB / 0.9981 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.0003582/0.4494, allocations: 290.3 kB / 1.281 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.4496, allocations: 71.53 kB / 1.281 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008122/0.4504, allocations: 431.8 kB / 1.281 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.4504, allocations: 3.984 kB / 1.281 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4504, allocations: 4 kB / 1.281 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.4505, allocations: 144.5 kB / 1.282 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.735e-05/0.4506, allocations: 19.98 kB / 1.282 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.4508, allocations: 19.98 kB / 1.282 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.4509, allocations: 43.89 kB / 1.282 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001051/0.452, allocations: 0.6972 MB / 1.282 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009521/0.4529, allocations: 0.8156 MB / 1.283 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000304/0.4532, allocations: 172.3 kB / 1.283 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006417/0.4539, allocations: 0.499 MB / 1.284 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of Backend: time 4.01e-07/0.4539, allocations: 4 kB / 1.284 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002818/0.4567, allocations: 0.6572 MB / 1.284 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002375/0.4591, allocations: 1.665 MB / 1.286 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of Templates: time 0.01573/0.4748, allocations: 7.392 MB / 1.293 GB, free: 12.6 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches