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.001082/0.001082, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001705, allocations: 184.2 kB / 16.92 MB, free: 6.684 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.328 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.681/2.681, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004019, allocations: 12 kB / 0.8735 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7188/0.7193, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.00442/0.7237, allocations: 2.734 MB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003604/0.7274, allocations: 1.786 MB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005858/0.728, allocations: 11.94 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.7295, allocations: 406.6 kB / 1.029 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000816/0.7303, allocations: 227.1 kB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.7317, allocations: 431.2 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001171/0.7328, allocations: 0.7758 MB / 1.03 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008526/0.7337, allocations: 445.2 kB / 1.03 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000477/0.7342, allocations: 242.8 kB / 1.031 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005009/0.7347, allocations: 278.6 kB / 1.031 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.7348, allocations: 20 kB / 1.031 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.7351, allocations: 87.89 kB / 1.031 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.7354, allocations: 179.3 kB / 1.031 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003688/0.7358, allocations: 331.5 kB / 1.031 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007184/0.7365, allocations: 0.5924 MB / 1.032 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7365, allocations: 0 / 1.032 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7365, allocations: 0 / 1.032 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.443e-05/0.7365, allocations: 0 / 1.032 GB, free: 7.301 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.001819/0.7384, allocations: 0.9919 MB / 1.033 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.7384, allocations: 12.03 kB / 1.033 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/0.7387, allocations: 91.81 kB / 1.033 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009054/0.7396, allocations: 0.5243 MB / 1.034 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.7397, allocations: 71.27 kB / 1.034 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.7398, allocations: 55.94 kB / 1.034 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.7409, allocations: 0.5424 MB / 1.034 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.7409, allocations: 3.938 kB / 1.034 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/0.741, allocations: 27.98 kB / 1.034 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.741, allocations: 12 kB / 1.034 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006932/0.7417, allocations: 343.6 kB / 1.035 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.7443, allocations: 1.932 MB / 1.036 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006378/0.745, allocations: 351.4 kB / 1.037 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.7453, allocations: 167.2 kB / 1.037 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.339e-05/0.7453, allocations: 7.75 kB / 1.037 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004606/0.7458, allocations: 262.5 kB / 1.037 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 3.065e-06/0.7458, allocations: 0 / 1.037 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.001047/0.7468, allocations: 0.493 MB / 1.038 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.747, allocations: 200.3 kB / 1.038 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009726/0.748, allocations: 0.7422 MB / 1.039 GB, free: 136 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/0.748, allocations: 53.7 kB / 1.039 GB, free: 76 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.7484, allocations: 368.8 kB / 1.039 GB, free: 15.71 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.7485, allocations: 110.6 kB / 1.039 GB, free: 15.6 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.7487, allocations: 89.66 kB / 1.039 GB, free: 15.51 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7488, allocations: 330 kB / 1.04 GB, free: 15.18 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.7491, allocations: 137.2 kB / 1.04 GB, free: 15.04 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.7496, allocations: 327.5 kB / 1.04 GB, free: 14.65 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/0.7502, allocations: 381.2 kB / 1.04 GB, free: 14.21 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.7502, allocations: 7.938 kB / 1.04 GB, free: 14.21 MB / 0.795 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009314/0.7511, allocations: 0.5143 MB / 1.041 GB, free: 13.68 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.7512, allocations: 11.98 kB / 1.041 GB, free: 13.67 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.7512, allocations: 4.594 kB / 1.041 GB, free: 13.67 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.7512, allocations: 12 kB / 1.041 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.7515, allocations: 71.84 kB / 1.041 GB, free: 13.59 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.7515, allocations: 11.94 kB / 1.041 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.7519, allocations: 59.42 kB / 1.041 GB, free: 13.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.7519, allocations: 31.98 kB / 1.041 GB, free: 13.48 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.0003836/0.7523, allocations: 278.2 kB / 1.041 GB, free: 13.21 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.7525, allocations: 83.05 kB / 1.041 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007927/0.7533, allocations: 419.8 kB / 1.042 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.7533, allocations: 4 kB / 1.042 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.7533, allocations: 4 kB / 1.042 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.7533, allocations: 3.984 kB / 1.042 GB, free: 12.69 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.755, allocations: 1.067 MB / 1.043 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.755, allocations: 0 / 1.043 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.7551, allocations: 35.86 kB / 1.043 GB, free: 11.53 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.7551, allocations: 7.984 kB / 1.043 GB, free: 11.52 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.7552, allocations: 8 kB / 1.043 GB, free: 11.52 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.916e-06/0.7552, allocations: 8 kB / 1.043 GB, free: 11.51 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.7552, allocations: 7.875 kB / 1.043 GB, free: 11.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007445/0.756, allocations: 0.5241 MB / 1.043 GB, free: 10.95 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.7561, allocations: 156 kB / 1.044 GB, free: 10.78 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.7562, allocations: 12 kB / 1.044 GB, free: 10.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.7564, allocations: 23.98 kB / 1.044 GB, free: 10.75 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.7566, allocations: 51.88 kB / 1.044 GB, free: 10.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.7566, allocations: 15.98 kB / 1.044 GB, free: 10.68 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006057/0.7572, allocations: 0.499 MB / 1.044 GB, free: 10.18 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7572, allocations: 0 / 1.044 GB, free: 10.18 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005724/0.7578, allocations: 143.6 kB / 1.044 GB, free: 10.04 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.001187/0.759, allocations: 457.7 kB / 1.045 GB, free: 9.746 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000773/0.7598, allocations: 393.9 kB / 1.045 GB, free: 9.359 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7598, allocations: 3.938 kB / 1.045 GB, free: 9.355 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.7602, allocations: 192.4 kB / 1.045 GB, free: 9.168 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008181/0.761, allocations: 126.2 kB / 1.045 GB, free: 9.047 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.7634, allocations: 1.513 MB / 1.047 GB, free: 7.488 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000629/0.7641, allocations: 0.9548 MB / 1.048 GB, free: 6.508 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.7643, allocations: 59.42 kB / 1.048 GB, free: 6.449 MB / 0.795 GB Notification: Performance of SimCode: time 3.91e-07/0.7643, allocations: 0 / 1.048 GB, free: 6.449 MB / 0.795 GB Notification: Performance of Templates: time 0.01605/0.7803, allocations: 8.936 MB / 1.057 GB, free: 13.57 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