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.001701/0.001701, allocations: 109 kB / 16.41 MB, free: 6.449 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.001911/0.001911, allocations: 189.2 kB / 17.34 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.516/1.516, allocations: 222.9 MB / 241 MB, free: 15.09 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.718/2.718, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.89 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9853/0.9872, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005154/0.9924, allocations: 3.036 MB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003478/0.9959, allocations: 1.813 MB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003311/0.9963, allocations: 11.94 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.9977, allocations: 423.2 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006612/0.9983, allocations: 272.2 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.9996, allocations: 471.9 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009924/1.001, allocations: 0.807 MB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006344/1.001, allocations: 487.8 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000362/1.002, allocations: 298.9 kB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003962/1.002, allocations: 326.5 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.573e-05/1.002, allocations: 52 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/1.002, allocations: 120 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002819/1.003, allocations: 223.2 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003349/1.003, allocations: 353.8 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/1.004, allocations: 0.8871 MB / 1.177 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/1.004, allocations: 4 kB / 1.177 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.733e-06/1.004, allocations: 0 / 1.177 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.501e-05/1.004, allocations: 0 / 1.177 GB, free: 10.31 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.001787/1.006, allocations: 1.151 MB / 1.178 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/1.006, allocations: 12.03 kB / 1.178 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/1.006, allocations: 100.3 kB / 1.178 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007351/1.007, allocations: 0.5366 MB / 1.178 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.751e-05/1.007, allocations: 71.2 kB / 1.178 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.653e-05/1.007, allocations: 55.94 kB / 1.178 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008914/1.008, allocations: 0.5463 MB / 1.179 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/1.008, allocations: 0 / 1.179 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/1.008, allocations: 23.98 kB / 1.179 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/1.008, allocations: 12 kB / 1.179 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006387/1.009, allocations: 347.6 kB / 1.179 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/1.011, allocations: 1.925 MB / 1.181 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/1.012, allocations: 355.4 kB / 1.182 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/1.012, allocations: 167.9 kB / 1.182 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/1.012, allocations: 8 kB / 1.182 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005035/1.013, allocations: 270.3 kB / 1.182 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.255e-06/1.013, allocations: 0 / 1.182 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.001132/1.014, allocations: 0.4974 MB / 1.183 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/1.014, allocations: 191.9 kB / 1.183 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009699/1.015, allocations: 0.7502 MB / 1.183 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/1.015, allocations: 45.7 kB / 1.183 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/1.015, allocations: 377.6 kB / 1.184 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/1.016, allocations: 123.1 kB / 1.184 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/1.016, allocations: 138.3 kB / 1.184 GB, free: 2.27 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.016, allocations: 330 kB / 1.184 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/1.016, allocations: 141.2 kB / 1.185 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004474/1.017, allocations: 323.3 kB / 1.185 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006079/1.017, allocations: 389.2 kB / 1.185 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/1.017, allocations: 3.938 kB / 1.185 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009074/1.018, allocations: 0.5266 MB / 1.186 GB, free: 440 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.018, allocations: 11.94 kB / 1.186 GB, free: 428 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.018, allocations: 4 kB / 1.186 GB, free: 424 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/1.018, allocations: 8 kB / 1.186 GB, free: 416 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/1.019, allocations: 75.83 kB / 1.186 GB, free: 340 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/1.019, allocations: 11.94 kB / 1.186 GB, free: 328 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/1.019, allocations: 60.08 kB / 1.186 GB, free: 268 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/1.019, allocations: 28 kB / 1.186 GB, free: 240 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.0004077/1.019, allocations: 285.7 kB / 1.186 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/1.02, allocations: 71.53 kB / 1.186 GB, free: 15.88 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008562/1.02, allocations: 431.8 kB / 1.187 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.02, allocations: 4 kB / 1.187 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.02, allocations: 8 kB / 1.187 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/1.02, allocations: 3.984 kB / 1.187 GB, free: 15.42 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/1.022, allocations: 1.076 MB / 1.188 GB, free: 14.29 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.022, allocations: 0 / 1.188 GB, free: 14.29 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/1.022, allocations: 27.92 kB / 1.188 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/1.022, allocations: 0 / 1.188 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/1.022, allocations: 16 kB / 1.188 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/1.022, allocations: 7.984 kB / 1.188 GB, free: 14.24 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.022, allocations: 7.938 kB / 1.188 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007698/1.023, allocations: 0.5266 MB / 1.188 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/1.023, allocations: 148.5 kB / 1.188 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/1.023, allocations: 16 kB / 1.188 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/1.024, allocations: 23.98 kB / 1.189 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/1.024, allocations: 47.88 kB / 1.189 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/1.024, allocations: 23.98 kB / 1.189 GB, free: 13.41 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006075/1.024, allocations: 0.499 MB / 1.189 GB, free: 12.91 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/1.024, allocations: 0 / 1.189 GB, free: 12.91 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005251/1.025, allocations: 139.7 kB / 1.189 GB, free: 12.78 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 39 (transition4.t_start,transition3.enableFire,off.active,pumOn.active,staBy.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.localCondition,transition1.enableFire,transition2.localCondition,transition2.enableFire,staBy.localActive,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.localActive,pumOn.outPort[1].reset,pumOn.newActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.t_start,transition4.enableFire,transition2.t_start,transition1.t_start) * Number of discrete states: 10 (transition1.t_start,transition2.t_start,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,transition4.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001678/1.027, allocations: 460 kB / 1.19 GB, free: 12.48 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0007617/1.027, allocations: 394.7 kB / 1.19 GB, free: 12.1 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.027, allocations: 0 / 1.19 GB, free: 12.1 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/1.028, allocations: 203.7 kB / 1.19 GB, free: 11.9 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006707/1.028, allocations: 128.4 kB / 1.19 GB, free: 11.77 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/1.03, allocations: 1.253 MB / 1.192 GB, free: 10.48 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/1.031, allocations: 0.9573 MB / 1.192 GB, free: 9.492 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002726/1.031, allocations: 100.8 kB / 1.193 GB, free: 9.395 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/1.032, allocations: 55.42 kB / 1.193 GB, free: 9.34 MB / 0.92 GB Notification: Performance of SimCode: time 4.21e-07/1.032, allocations: 0 / 1.193 GB, free: 9.34 MB / 0.92 GB Notification: Performance of Templates: time 0.01489/1.046, allocations: 6.78 MB / 1.199 GB, free: 2.617 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 -s cvode -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