Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 252 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 184.7 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000916/0.0009158, allocations: 95.62 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003598, allocations: 9.469 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2078, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.3798, allocations: 139.1 MB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/0.3802, allocations: 103.9 kB / 1.036 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04364/0.4239, allocations: 17.18 MB / 1.053 GB, free: 3.203 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4239, allocations: 4 kB / 1.053 GB, free: 3.199 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.459e-05/0.424, allocations: 20 kB / 1.053 GB, free: 3.18 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001387/0.4253, allocations: 1.015 MB / 1.054 GB, free: 2.098 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.4254, allocations: 8.031 kB / 1.054 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.4255, allocations: 94.88 kB / 1.054 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007917/0.4263, allocations: 0.4926 MB / 1.054 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.913e-05/0.4264, allocations: 74.69 kB / 1.054 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.899e-05/0.4265, allocations: 52 kB / 1.055 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008245/0.4273, allocations: 0.5424 MB / 1.055 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.4274, allocations: 7.938 kB / 1.055 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.458e-05/0.4274, allocations: 19.95 kB / 1.055 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.4274, allocations: 15.94 kB / 1.055 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/0.428, allocations: 355.7 kB / 1.055 GB, free: 364 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3901/0.8181, allocations: 2.061 MB / 1.057 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007066/0.8189, allocations: 298.2 kB / 1.058 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.819, allocations: 19.97 kB / 1.058 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004106/0.8194, allocations: 214.3 kB / 1.058 GB, free: 143.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=42): time 3.316e-06/0.8194, allocations: 0 / 1.058 GB, free: 143.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.000969/0.8204, allocations: 482.6 kB / 1.058 GB, free: 143.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.8205, allocations: 111.8 kB / 1.059 GB, free: 143.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007524/0.8212, allocations: 0.6723 MB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.8213, allocations: 42.23 kB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.8215, allocations: 368.7 kB / 1.06 GB, free: 142.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/0.8216, allocations: 100.4 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.8216, allocations: 17.28 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.124e-05/0.8217, allocations: 329.8 kB / 1.06 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.822, allocations: 138.9 kB / 1.06 GB, free: 142.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.8223, allocations: 316.5 kB / 1.06 GB, free: 142.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.8225, allocations: 154.2 kB / 1.061 GB, free: 142.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8225, allocations: 0 / 1.061 GB, free: 142.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00075/0.8233, allocations: 0.5131 MB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.8233, allocations: 8.438 kB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.8233, allocations: 6.859 kB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.8234, allocations: 8.812 kB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.8236, allocations: 76.25 kB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.8236, allocations: 9.062 kB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.8239, allocations: 55.12 kB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/0.824, allocations: 25.69 kB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,pumOn.outPort[2].reset,$whenCondition3,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,staBy.active,$PRE.pumOn.localActive,pumOn.localActive,pumOn.outPort[2].available,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,cheMinFlo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003327/0.8243, allocations: 277.5 kB / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.8244, allocations: 72.91 kB / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007281/0.8252, allocations: 451 kB / 1.062 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.8252, allocations: 9.922 kB / 1.062 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.8252, allocations: 2.312 kB / 1.062 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.8252, allocations: 1.594 kB / 1.062 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.8268, allocations: 1.113 MB / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.8268, allocations: 2.531 kB / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.8269, allocations: 31.72 kB / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.827, allocations: 2.844 kB / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.827, allocations: 9.766 kB / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.827, allocations: 0 / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.827, allocations: 3.844 kB / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006043/0.8276, allocations: 0.5023 MB / 1.064 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.8278, allocations: 160.7 kB / 1.064 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.315e-05/0.8279, allocations: 10.89 kB / 1.064 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.8281, allocations: 26.19 kB / 1.064 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.8282, allocations: 48.05 kB / 1.064 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.8283, allocations: 16.75 kB / 1.064 GB, free: 141.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006818/0.829, allocations: 0.5013 MB / 1.064 GB, free: 141.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.829, allocations: 2.594 kB / 1.064 GB, free: 141.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006773/0.8297, allocations: 130.9 kB / 1.065 GB, free: 141.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,staBy.active,pumOn.outPort[2].available,pumOn.newActive,pumOn.oldActive,pumOn.active,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) * Number of discrete states: 7 (runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001289/0.831, allocations: 497.4 kB / 1.065 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007991/0.8318, allocations: 402.3 kB / 1.065 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8318, allocations: 0 / 1.065 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.8321, allocations: 180.1 kB / 1.066 GB, free: 141 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006138/0.8327, allocations: 107.5 kB / 1.066 GB, free: 141 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.8352, allocations: 1.393 MB / 1.067 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/0.836, allocations: 0.9764 MB / 1.068 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003732/0.8364, allocations: 98.67 kB / 1.068 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.8365, allocations: 55.75 kB / 1.068 GB, free: 139.7 MB / 0.698 GB Notification: Performance of SimCode: time 3.81e-07/0.8365, allocations: 0.625 kB / 1.068 GB, free: 139.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01742/0.854, allocations: 6.791 MB / 1.075 GB, free: 139.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches