Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001108/0.001108, allocations: 100 kB / 15.05 MB, free: 1.105 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.001228/0.001228, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.2 MB / 239.9 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.802/2.802, allocations: 436.5 MB / 0.7104 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003358, allocations: 8 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7535/0.7538, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.003463/0.7573, allocations: 2.591 MB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.7604, allocations: 1.681 MB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004769/0.7609, allocations: 19.88 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.7621, allocations: 381.7 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006976/0.7628, allocations: 231.4 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.7641, allocations: 374.8 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008831/0.765, allocations: 0.5034 MB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006377/0.7656, allocations: 402.6 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/0.766, allocations: 243 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003684/0.7663, allocations: 258.8 kB / 1.027 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.476e-05/0.7664, allocations: 24 kB / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.7667, allocations: 75.89 kB / 1.027 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.7669, allocations: 171.3 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.7671, allocations: 145.3 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007147/0.7678, allocations: 0.5904 MB / 1.028 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7678, allocations: 0 / 1.028 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7678, allocations: 4 kB / 1.028 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.492e-05/0.7679, allocations: 0 / 1.028 GB, free: 9.434 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.001523/0.7694, allocations: 0.9917 MB / 1.029 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.7694, allocations: 11.98 kB / 1.029 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.7696, allocations: 98.86 kB / 1.029 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007406/0.7704, allocations: 0.4963 MB / 1.03 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.7705, allocations: 78.64 kB / 1.03 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.289e-05/0.7706, allocations: 52 kB / 1.03 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008632/0.7715, allocations: 0.5385 MB / 1.03 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.7715, allocations: 0 / 1.03 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.7715, allocations: 24 kB / 1.031 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.7716, allocations: 12 kB / 1.031 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006262/0.7722, allocations: 339.6 kB / 1.031 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.7746, allocations: 1.921 MB / 1.033 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006012/0.7752, allocations: 367.5 kB / 1.033 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/0.7752, allocations: 8 kB / 1.033 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004681/0.7757, allocations: 254.6 kB / 1.033 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.7757, allocations: 0 / 1.033 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.0009593/0.7767, allocations: 493.2 kB / 1.034 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.7768, allocations: 195.9 kB / 1.034 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009058/0.7777, allocations: 0.7345 MB / 1.035 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.559e-05/0.7778, allocations: 53.69 kB / 1.035 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.7781, allocations: 377 kB / 1.035 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.85e-05/0.7782, allocations: 114.5 kB / 1.035 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.7783, allocations: 12 kB / 1.035 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7784, allocations: 330 kB / 1.036 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.7787, allocations: 133.2 kB / 1.036 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.7791, allocations: 315.5 kB / 1.036 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.7794, allocations: 152.8 kB / 1.036 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.7794, allocations: 4 kB / 1.036 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007944/0.7802, allocations: 0.5068 MB / 1.037 GB, free: 448 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.7802, allocations: 11.94 kB / 1.037 GB, free: 436 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7802, allocations: 4 kB / 1.037 GB, free: 432 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.7803, allocations: 8 kB / 1.037 GB, free: 424 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.7805, allocations: 71.83 kB / 1.037 GB, free: 352 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.7805, allocations: 11.95 kB / 1.037 GB, free: 340 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.7809, allocations: 71.83 kB / 1.037 GB, free: 268 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.7809, allocations: 24 kB / 1.037 GB, free: 244 kB / 0.7794 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,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,$PRE.transition4.t_start,transition4.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition3,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,pumOn.active,$PRE.pumOn.localActive,pumOn.localActive,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition3.localCondition) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003594/0.7813, allocations: 281.6 kB / 1.037 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.469e-05/0.7814, allocations: 71.16 kB / 1.037 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007526/0.7822, allocations: 427.8 kB / 1.038 GB, free: 15.45 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.7822, allocations: 8 kB / 1.038 GB, free: 15.44 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.7822, allocations: 4 kB / 1.038 GB, free: 15.44 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.7822, allocations: 7.938 kB / 1.038 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.7838, allocations: 1.067 MB / 1.039 GB, free: 14.31 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.7838, allocations: 4 kB / 1.039 GB, free: 14.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.7839, allocations: 27.92 kB / 1.039 GB, free: 14.28 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.7839, allocations: 7.953 kB / 1.039 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.784, allocations: 15.98 kB / 1.039 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.784, allocations: 7.938 kB / 1.039 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.784, allocations: 3.938 kB / 1.039 GB, free: 14.24 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007066/0.7847, allocations: 0.5487 MB / 1.039 GB, free: 13.65 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.7849, allocations: 156 kB / 1.039 GB, free: 13.48 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/0.7849, allocations: 15.98 kB / 1.039 GB, free: 13.46 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.7851, allocations: 19.98 kB / 1.039 GB, free: 13.45 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.7853, allocations: 55.88 kB / 1.039 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.7853, allocations: 15.98 kB / 1.039 GB, free: 13.38 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005881/0.7859, allocations: 0.499 MB / 1.04 GB, free: 12.88 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7859, allocations: 0 / 1.04 GB, free: 12.88 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000541/0.7864, allocations: 139.5 kB / 1.04 GB, free: 12.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/0.7875, allocations: 466.1 kB / 1.041 GB, free: 12.44 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007207/0.7883, allocations: 385.2 kB / 1.041 GB, free: 12.06 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.7883, allocations: 0 / 1.041 GB, free: 12.06 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.7886, allocations: 188.8 kB / 1.041 GB, free: 11.88 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.7892, allocations: 107 kB / 1.041 GB, free: 11.77 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.7911, allocations: 1.406 MB / 1.043 GB, free: 10.32 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.7917, allocations: 0.9731 MB / 1.044 GB, free: 9.324 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002728/0.792, allocations: 96.78 kB / 1.044 GB, free: 9.23 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.7921, allocations: 55.42 kB / 1.044 GB, free: 9.176 MB / 0.795 GB Notification: Performance of SimCode: time 4.01e-07/0.7921, allocations: 0 / 1.044 GB, free: 9.176 MB / 0.795 GB Notification: Performance of Templates: time 0.01351/0.8056, allocations: 6.155 MB / 1.05 GB, free: 3.078 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches