Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 99.55 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.001598/0.001598, 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.422/1.422, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.646/2.646, allocations: 436.5 MB / 0.7104 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 16 kB / 0.8708 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7375/0.7379, allocations: 153.7 MB / 1.021 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003324/0.7413, allocations: 1.822 MB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.7435, allocations: 1.242 MB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.7437, allocations: 11.94 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006185/0.7443, allocations: 171.4 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.7446, allocations: 115.6 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.7451, allocations: 106.9 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.7454, allocations: 151.6 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.7455, allocations: 40.38 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.7457, allocations: 91.62 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.7459, allocations: 83.56 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.7459, allocations: 0 / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.746, allocations: 47.89 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.727e-05/0.7461, allocations: 83.67 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.758e-05/0.7462, allocations: 77.52 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.7465, allocations: 261.4 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.7465, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.375e-06/0.7466, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.7466, allocations: 0 / 1.025 GB, free: 12.87 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001081/0.7477, allocations: 0.6259 MB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.7477, allocations: 23.92 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.084e-05/0.7478, allocations: 43.44 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.7483, allocations: 327.2 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.7483, allocations: 11.98 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.7484, allocations: 7.953 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.7485, allocations: 77.66 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.7486, allocations: 0 / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.7486, allocations: 0 / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.7486, allocations: 7.938 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.85e-05/0.7487, allocations: 39.92 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007186/0.7494, allocations: 456.5 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.7496, allocations: 74.61 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.7497, allocations: 0 / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.7498, allocations: 79.5 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.7499, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0003352/0.7502, allocations: 137.1 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.7503, allocations: 55.41 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/0.7508, allocations: 0.537 MB / 1.027 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.7509, allocations: 29.7 kB / 1.027 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.7511, allocations: 212 kB / 1.028 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.7511, allocations: 19.8 kB / 1.028 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.7511, allocations: 4 kB / 1.028 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.7513, allocations: 354.8 kB / 1.028 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.7514, allocations: 51.97 kB / 1.028 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.7515, allocations: 74.55 kB / 1.028 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.7517, allocations: 52.03 kB / 1.028 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7517, allocations: 0 / 1.028 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003003/0.752, allocations: 195.4 kB / 1.028 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.752, allocations: 8 kB / 1.028 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.752, allocations: 3.938 kB / 1.028 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.752, allocations: 3.984 kB / 1.028 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.7522, allocations: 20 kB / 1.028 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.7522, allocations: 3.938 kB / 1.028 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.7523, allocations: 20.02 kB / 1.028 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.7524, allocations: 4 kB / 1.028 GB, free: 9.133 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0002592/0.7526, allocations: 196.2 kB / 1.029 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.7527, allocations: 43.55 kB / 1.029 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.19e-05/0.7528, allocations: 43.75 kB / 1.029 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.7528, allocations: 4 kB / 1.029 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.7528, allocations: 0 / 1.029 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.7528, allocations: 7.984 kB / 1.029 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.7532, allocations: 297.5 kB / 1.029 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7532, allocations: 0 / 1.029 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.907e-05/0.7532, allocations: 7.984 kB / 1.029 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7532, allocations: 0 / 1.029 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.7533, allocations: 0 / 1.029 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.7533, allocations: 256 / 1.029 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7533, allocations: 3.938 kB / 1.029 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.7536, allocations: 160.5 kB / 1.029 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.7537, allocations: 116.5 kB / 1.029 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.7538, allocations: 8 kB / 1.029 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/0.7538, allocations: 4 kB / 1.029 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/0.7539, allocations: 11.97 kB / 1.029 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.7539, allocations: 4 kB / 1.029 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004177/0.7544, allocations: 358.8 kB / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7544, allocations: 0 / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002978/0.7547, allocations: 47.98 kB / 1.03 GB, free: 7.754 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001233/0.7559, allocations: 425 kB / 1.03 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000288/0.7562, allocations: 98.09 kB / 1.03 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7562, allocations: 0 / 1.03 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.202e-05/0.7563, allocations: 31.92 kB / 1.03 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.7567, allocations: 58.94 kB / 1.03 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.758, allocations: 0.7065 MB / 1.031 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.7585, allocations: 0.8257 MB / 1.032 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.731e-05/0.7586, allocations: 29.53 kB / 1.032 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.7587, allocations: 23.42 kB / 1.032 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7587, allocations: 0 / 1.032 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of Templates: time 0.007455/0.7661, allocations: 2.627 MB / 1.034 GB, free: 3.059 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches