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.01056/0.01056, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.002149/0.002149, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.7/2.7, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.004571/1.071, allocations: 3.04 MB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00287/1.074, allocations: 1.798 MB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/1.075, allocations: 15.88 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/1.076, allocations: 430.2 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005511/1.076, allocations: 268.6 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/1.077, allocations: 467.6 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008441/1.078, allocations: 0.8149 MB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006198/1.079, allocations: 491.8 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/1.079, allocations: 298.9 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003541/1.08, allocations: 318.5 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.095e-05/1.08, allocations: 56 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/1.08, allocations: 131.9 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000227/1.08, allocations: 223.2 kB / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003109/1.08, allocations: 357.8 kB / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/1.082, allocations: 0.8793 MB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.082, allocations: 0 / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.834e-06/1.082, allocations: 0 / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.658e-05/1.082, allocations: 0 / 1.176 GB, free: 10.27 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.001724/1.083, allocations: 1.166 MB / 1.177 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/1.083, allocations: 8.031 kB / 1.177 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/1.083, allocations: 100.3 kB / 1.177 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/1.084, allocations: 0.5288 MB / 1.178 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.307e-05/1.084, allocations: 71.27 kB / 1.178 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.482e-05/1.084, allocations: 63.86 kB / 1.178 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008638/1.085, allocations: 0.5424 MB / 1.178 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/1.085, allocations: 4 kB / 1.178 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.519e-05/1.085, allocations: 24 kB / 1.178 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/1.085, allocations: 12 kB / 1.178 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005981/1.086, allocations: 343.6 kB / 1.179 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/1.088, allocations: 1.929 MB / 1.181 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006112/1.089, allocations: 351.4 kB / 1.181 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/1.089, allocations: 165.1 kB / 1.181 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/1.089, allocations: 11.98 kB / 1.181 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004456/1.09, allocations: 270.3 kB / 1.181 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 1.984e-06/1.09, allocations: 0 / 1.181 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.00099/1.091, allocations: 0.5013 MB / 1.182 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/1.091, allocations: 188.3 kB / 1.182 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008707/1.092, allocations: 0.7542 MB / 1.183 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-05/1.092, allocations: 49.69 kB / 1.183 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/1.092, allocations: 369.3 kB / 1.183 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/1.092, allocations: 115.1 kB / 1.183 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/1.092, allocations: 146.2 kB / 1.183 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.093, allocations: 325.9 kB / 1.184 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/1.093, allocations: 145.2 kB / 1.184 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/1.093, allocations: 327.3 kB / 1.184 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005931/1.094, allocations: 389.2 kB / 1.185 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.094, allocations: 3.938 kB / 1.185 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000907/1.095, allocations: 0.5226 MB / 1.185 GB, free: 392 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/1.095, allocations: 8 kB / 1.185 GB, free: 384 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.095, allocations: 4.594 kB / 1.185 GB, free: 380 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/1.095, allocations: 12 kB / 1.185 GB, free: 368 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/1.095, allocations: 71.83 kB / 1.185 GB, free: 296 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/1.095, allocations: 11.94 kB / 1.185 GB, free: 284 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/1.095, allocations: 59.61 kB / 1.185 GB, free: 224 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/1.095, allocations: 27.98 kB / 1.185 GB, free: 196 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.0003454/1.096, allocations: 289.6 kB / 1.186 GB, free: 15.9 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/1.096, allocations: 79.52 kB / 1.186 GB, free: 15.82 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007633/1.097, allocations: 427.8 kB / 1.186 GB, free: 15.39 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/1.097, allocations: 7.984 kB / 1.186 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.097, allocations: 4 kB / 1.186 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.097, allocations: 0 / 1.186 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/1.098, allocations: 1.072 MB / 1.187 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.098, allocations: 4 kB / 1.187 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/1.098, allocations: 27.92 kB / 1.187 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/1.098, allocations: 4 kB / 1.187 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/1.098, allocations: 15.98 kB / 1.187 GB, free: 14.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/1.098, allocations: 4 kB / 1.187 GB, free: 14.2 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.098, allocations: 3.938 kB / 1.187 GB, free: 14.19 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007541/1.099, allocations: 0.5312 MB / 1.188 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/1.099, allocations: 148.5 kB / 1.188 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.723e-05/1.099, allocations: 16 kB / 1.188 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/1.1, allocations: 15.98 kB / 1.188 GB, free: 13.44 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/1.1, allocations: 55.88 kB / 1.188 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/1.1, allocations: 15.98 kB / 1.188 GB, free: 13.37 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005942/1.1, allocations: 0.499 MB / 1.188 GB, free: 12.88 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.01e-07/1.1, allocations: 4 kB / 1.188 GB, free: 12.87 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005271/1.101, allocations: 143.7 kB / 1.188 GB, free: 12.73 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.001159/1.102, allocations: 457.3 kB / 1.189 GB, free: 12.44 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008075/1.103, allocations: 397.4 kB / 1.189 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.103, allocations: 0 / 1.189 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003552/1.103, allocations: 191.5 kB / 1.189 GB, free: 11.86 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007066/1.104, allocations: 134.3 kB / 1.19 GB, free: 11.73 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/1.106, allocations: 1.252 MB / 1.191 GB, free: 10.44 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/1.107, allocations: 0.9573 MB / 1.192 GB, free: 9.453 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002938/1.107, allocations: 96.78 kB / 1.192 GB, free: 9.359 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/1.107, allocations: 55.42 kB / 1.192 GB, free: 9.305 MB / 0.92 GB Notification: Performance of SimCode: time 5.21e-07/1.107, allocations: 0 / 1.192 GB, free: 9.305 MB / 0.92 GB Notification: Performance of Templates: time 0.01428/1.121, allocations: 6.777 MB / 1.199 GB, free: 2.586 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/jenkins/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