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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.005529/0.005529, allocations: 100.9 kB / 15.87 MB, free: 6.328 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.001208/0.001208, allocations: 194.1 kB / 16.79 MB, free: 6.254 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.37/1.37, allocations: 222.9 MB / 240.5 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 437 MB / 0.7106 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.91 kB / 0.8692 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6342/0.6356, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.004502/0.6402, allocations: 3.119 MB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002871/0.6431, allocations: 1.817 MB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003724/0.6435, allocations: 11.94 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.6446, allocations: 406.6 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005948/0.6452, allocations: 227.1 kB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.6463, allocations: 434.6 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009108/0.6472, allocations: 0.7836 MB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006661/0.6479, allocations: 455.4 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000382/0.6483, allocations: 274.8 kB / 1.025 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003758/0.6487, allocations: 310.5 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.423e-05/0.6488, allocations: 32 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.6491, allocations: 95.95 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.6493, allocations: 207.2 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003292/0.6496, allocations: 333.8 kB / 1.026 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006061/0.6502, allocations: 0.6003 MB / 1.026 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6503, allocations: 4 kB / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.21e-07/0.6503, allocations: 0 / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.6503, allocations: 0 / 1.026 GB, free: 9.699 MB / 0.7794 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.001776/0.6521, allocations: 1.133 MB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.6521, allocations: 8.031 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.6523, allocations: 91.81 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.653, allocations: 0.5243 MB / 1.028 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-05/0.6531, allocations: 71.27 kB / 1.028 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/0.6532, allocations: 55.94 kB / 1.028 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008975/0.6541, allocations: 0.5463 MB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.6541, allocations: 7.922 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-05/0.6542, allocations: 27.98 kB / 1.029 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.6542, allocations: 12 kB / 1.029 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000662/0.6549, allocations: 335.7 kB / 1.029 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.6571, allocations: 1.92 MB / 1.031 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/0.6578, allocations: 354.8 kB / 1.031 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.658, allocations: 171.4 kB / 1.031 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.6581, allocations: 7.75 kB / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004408/0.6585, allocations: 266.5 kB / 1.031 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 2.054e-06/0.6585, allocations: 4 kB / 1.031 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.0009966/0.6595, allocations: 0.4892 MB / 1.032 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.767e-05/0.6597, allocations: 195.8 kB / 1.032 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008675/0.6605, allocations: 0.7461 MB / 1.033 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.6606, allocations: 49.7 kB / 1.033 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.6609, allocations: 365.2 kB / 1.033 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.661, allocations: 118.6 kB / 1.033 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.6612, allocations: 150.2 kB / 1.034 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.6613, allocations: 326 kB / 1.034 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.6616, allocations: 141.2 kB / 1.034 GB, free: 1.242 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.662, allocations: 323.3 kB / 1.034 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/0.6625, allocations: 397.2 kB / 1.035 GB, free: 416 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.6626, allocations: 3.938 kB / 1.035 GB, free: 412 kB / 0.7794 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009388/0.6635, allocations: 0.5145 MB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.6635, allocations: 4 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.6636, allocations: 4 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.6636, allocations: 8 kB / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.6639, allocations: 75.83 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.6639, allocations: 8 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.6642, allocations: 67.89 kB / 1.035 GB, free: 15.72 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.6642, allocations: 27.98 kB / 1.035 GB, free: 15.69 MB / 0.795 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.fire,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.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.condition,transition1.enableFire,transition1.condition,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.00036/0.6646, allocations: 278.1 kB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.6647, allocations: 75.06 kB / 1.036 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007643/0.6655, allocations: 423.8 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.6655, allocations: 8 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.6655, allocations: 4 kB / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.6655, allocations: 7.984 kB / 1.036 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.6671, allocations: 1.059 MB / 1.037 GB, free: 13.78 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.6671, allocations: 7.938 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.6672, allocations: 27.92 kB / 1.037 GB, free: 13.74 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.6672, allocations: 4 kB / 1.037 GB, free: 13.74 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.6673, allocations: 15.98 kB / 1.037 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.6673, allocations: 4 kB / 1.037 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6673, allocations: 3.938 kB / 1.037 GB, free: 13.71 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007297/0.668, allocations: 0.5201 MB / 1.038 GB, free: 13.17 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.6681, allocations: 148.1 kB / 1.038 GB, free: 13 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.707e-05/0.6682, allocations: 12 kB / 1.038 GB, free: 12.99 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.6684, allocations: 15.98 kB / 1.038 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.6686, allocations: 55.81 kB / 1.038 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.6686, allocations: 19.98 kB / 1.038 GB, free: 12.9 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005622/0.6692, allocations: 0.4951 MB / 1.038 GB, free: 12.41 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6692, allocations: 0 / 1.038 GB, free: 12.41 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005403/0.6697, allocations: 151.6 kB / 1.039 GB, free: 12.26 MB / 0.795 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.localActive,staBy.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.active,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.fire,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.001061/0.6708, allocations: 454.3 kB / 1.039 GB, free: 11.96 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007095/0.6715, allocations: 395 kB / 1.039 GB, free: 11.58 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6715, allocations: 0 / 1.039 GB, free: 11.58 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003258/0.6719, allocations: 183.3 kB / 1.04 GB, free: 11.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/0.6726, allocations: 128.7 kB / 1.04 GB, free: 11.28 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.6744, allocations: 1.48 MB / 1.041 GB, free: 9.758 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.6749, allocations: 0.9548 MB / 1.042 GB, free: 8.77 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.6751, allocations: 55.42 kB / 1.042 GB, free: 8.715 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.6751, allocations: 3.938 kB / 1.042 GB, free: 8.711 MB / 0.795 GB Notification: Performance of Templates: time 0.01212/0.6872, allocations: 8.992 MB / 1.051 GB, free: 15.77 MB / 0.8106 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