Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001321/0.001321, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001331/0.001331, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.478/1.478, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001906, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094/1.095, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005678/1.101, allocations: 3.032 MB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003503/1.105, allocations: 1.801 MB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004303/1.105, allocations: 11.94 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/1.106, allocations: 426.2 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006708/1.107, allocations: 268.5 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/1.108, allocations: 472 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009982/1.109, allocations: 0.8148 MB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008076/1.11, allocations: 0.4955 MB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/1.111, allocations: 302.9 kB / 1.175 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005323/1.111, allocations: 322.5 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/1.111, allocations: 56 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/1.112, allocations: 127.9 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002493/1.112, allocations: 215.3 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003406/1.112, allocations: 353.8 kB / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/1.113, allocations: 0.8699 MB / 1.177 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.114, allocations: 0 / 1.177 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.975e-06/1.114, allocations: 0 / 1.177 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.118e-05/1.114, allocations: 0 / 1.177 GB, free: 10.3 MB / 0.9044 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.001798/1.115, allocations: 1.14 MB / 1.178 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.115, allocations: 8.031 kB / 1.178 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/1.116, allocations: 91.81 kB / 1.178 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007276/1.116, allocations: 0.532 MB / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/1.116, allocations: 75.25 kB / 1.178 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.323e-05/1.116, allocations: 55.94 kB / 1.178 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008891/1.117, allocations: 0.5463 MB / 1.179 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/1.117, allocations: 3.938 kB / 1.179 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/1.117, allocations: 20 kB / 1.179 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/1.117, allocations: 12 kB / 1.179 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006042/1.118, allocations: 343.7 kB / 1.179 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/1.121, allocations: 1.917 MB / 1.181 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/1.121, allocations: 354.9 kB / 1.182 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/1.122, allocations: 177 kB / 1.182 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/1.122, allocations: 4 kB / 1.182 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004382/1.122, allocations: 270.2 kB / 1.182 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 1.974e-06/1.122, allocations: 0 / 1.182 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.001016/1.123, allocations: 0.4931 MB / 1.182 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.123, allocations: 192.3 kB / 1.183 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000954/1.124, allocations: 0.754 MB / 1.183 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.128e-05/1.124, allocations: 45.7 kB / 1.183 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/1.125, allocations: 368.8 kB / 1.184 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/1.125, allocations: 114.5 kB / 1.184 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/1.125, allocations: 138.3 kB / 1.184 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.125, allocations: 330 kB / 1.184 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/1.125, allocations: 141.2 kB / 1.184 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/1.126, allocations: 327.3 kB / 1.185 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/1.126, allocations: 385.2 kB / 1.185 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.126, allocations: 0 / 1.185 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008504/1.127, allocations: 0.5298 MB / 1.186 GB, free: 484 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.127, allocations: 8 kB / 1.186 GB, free: 476 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.127, allocations: 12.47 kB / 1.186 GB, free: 464 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/1.127, allocations: 8 kB / 1.186 GB, free: 456 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/1.128, allocations: 79.83 kB / 1.186 GB, free: 376 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/1.128, allocations: 11.94 kB / 1.186 GB, free: 364 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/1.128, allocations: 55.45 kB / 1.186 GB, free: 308 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/1.128, allocations: 28 kB / 1.186 GB, free: 280 kB / 0.9044 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.0003384/1.128, allocations: 281.7 kB / 1.186 GB, free: 15.99 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/1.128, allocations: 75.09 kB / 1.186 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007698/1.129, allocations: 431.8 kB / 1.187 GB, free: 15.48 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/1.129, allocations: 3.984 kB / 1.187 GB, free: 15.47 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.129, allocations: 4 kB / 1.187 GB, free: 15.47 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/1.129, allocations: 144.1 kB / 1.187 GB, free: 15.31 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.044e-05/1.129, allocations: 11.98 kB / 1.187 GB, free: 15.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/1.13, allocations: 19.98 kB / 1.187 GB, free: 15.28 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/1.13, allocations: 43.89 kB / 1.187 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009466/1.131, allocations: 0.7011 MB / 1.188 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009492/1.132, allocations: 0.812 MB / 1.188 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002953/1.132, allocations: 187.5 kB / 1.189 GB, free: 13.51 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005695/1.132, allocations: 0.499 MB / 1.189 GB, free: 13.02 MB / 0.92 GB Notification: Performance of Backend: time 6.31e-07/1.132, allocations: 0 / 1.189 GB, free: 13.02 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002042/1.135, allocations: 0.69 MB / 1.19 GB, free: 12.48 MB / 0.92 GB Notification: Performance of SimCode: time 0.002099/1.137, allocations: 1.647 MB / 1.191 GB, free: 10.79 MB / 0.92 GB Notification: Performance of Templates: time 0.01439/1.151, allocations: 7.217 MB / 1.198 GB, free: 3.633 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches