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.00161/0.00161, allocations: 113.6 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.002157/0.002157, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.415/1.415, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.646/2.646, allocations: 437 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 71.89 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9914/0.9928, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.00521/0.998, allocations: 3.036 MB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003871/1.002, allocations: 1.801 MB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004386/1.002, allocations: 11.94 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/1.004, allocations: 427.2 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005565/1.004, allocations: 262.8 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/1.006, allocations: 472.8 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009465/1.006, allocations: 0.807 MB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007588/1.007, allocations: 483.9 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/1.008, allocations: 298.9 kB / 1.175 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00042/1.008, allocations: 326.5 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/1.008, allocations: 56 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/1.009, allocations: 123.9 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002627/1.009, allocations: 215.3 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003978/1.009, allocations: 353.8 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/1.01, allocations: 0.8872 MB / 1.177 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.01, allocations: 3.938 kB / 1.177 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.694e-06/1.01, allocations: 0 / 1.177 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.002e-05/1.01, allocations: 0 / 1.177 GB, free: 10.32 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.001636/1.012, allocations: 1.158 MB / 1.178 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/1.012, allocations: 8.031 kB / 1.178 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/1.012, allocations: 96.33 kB / 1.178 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007123/1.013, allocations: 0.5366 MB / 1.178 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.789e-05/1.013, allocations: 71.27 kB / 1.178 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.758e-05/1.013, allocations: 63.91 kB / 1.178 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008371/1.014, allocations: 0.5502 MB / 1.179 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/1.014, allocations: 0 / 1.179 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/1.014, allocations: 16 kB / 1.179 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/1.014, allocations: 12 kB / 1.179 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006034/1.015, allocations: 347.7 kB / 1.179 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/1.017, allocations: 1.921 MB / 1.181 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/1.018, allocations: 358.8 kB / 1.182 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/1.018, allocations: 174.5 kB / 1.182 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/1.018, allocations: 7.938 kB / 1.182 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004353/1.018, allocations: 262.4 kB / 1.182 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.304e-06/1.018, allocations: 0 / 1.182 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.0009978/1.019, allocations: 0.5013 MB / 1.183 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.368e-05/1.019, allocations: 191.9 kB / 1.183 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007764/1.02, allocations: 0.7502 MB / 1.183 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/1.02, allocations: 53.62 kB / 1.183 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/1.021, allocations: 377.6 kB / 1.184 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/1.021, allocations: 119.1 kB / 1.184 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/1.021, allocations: 142.2 kB / 1.184 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.021, allocations: 326 kB / 1.184 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/1.021, allocations: 141.2 kB / 1.185 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/1.022, allocations: 319.4 kB / 1.185 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005547/1.022, allocations: 397.1 kB / 1.185 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/1.022, allocations: 0 / 1.185 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008241/1.023, allocations: 0.5227 MB / 1.186 GB, free: 444 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.023, allocations: 8 kB / 1.186 GB, free: 436 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.023, allocations: 4 kB / 1.186 GB, free: 432 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/1.023, allocations: 8 kB / 1.186 GB, free: 424 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/1.023, allocations: 83.7 kB / 1.186 GB, free: 340 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.487e-05/1.023, allocations: 8.5 kB / 1.186 GB, free: 332 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/1.024, allocations: 59.61 kB / 1.186 GB, free: 272 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/1.024, allocations: 35.98 kB / 1.186 GB, free: 236 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.0003172/1.024, allocations: 277.6 kB / 1.186 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.831e-05/1.024, allocations: 75.52 kB / 1.186 GB, free: 15.88 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007588/1.025, allocations: 423.9 kB / 1.187 GB, free: 15.45 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/1.025, allocations: 11.97 kB / 1.187 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.025, allocations: 4 kB / 1.187 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/1.025, allocations: 152.5 kB / 1.187 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/1.025, allocations: 8 kB / 1.187 GB, free: 15.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/1.025, allocations: 19.98 kB / 1.187 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/1.025, allocations: 47.88 kB / 1.187 GB, free: 15.19 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008376/1.026, allocations: 0.7011 MB / 1.188 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008299/1.027, allocations: 0.8124 MB / 1.188 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002869/1.027, allocations: 191.6 kB / 1.189 GB, free: 13.46 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005483/1.028, allocations: 0.499 MB / 1.189 GB, free: 12.96 MB / 0.92 GB Notification: Performance of Backend: time 5.41e-07/1.028, allocations: 0 / 1.189 GB, free: 12.96 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002187/1.03, allocations: 0.701 MB / 1.19 GB, free: 12.42 MB / 0.92 GB Notification: Performance of SimCode: time 0.002104/1.032, allocations: 1.661 MB / 1.191 GB, free: 10.71 MB / 0.92 GB Notification: Performance of Templates: time 0.01534/1.048, allocations: 7.221 MB / 1.198 GB, free: 3.551 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