Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000908/0.000908, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009708/0.0009708, allocations: 166.2 kB / 24.87 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9419/0.9419, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.867/1.867, allocations: 377.9 MB / 0.6247 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.[0-9,]+.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.[0-9,]+.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0.9844 kB / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.519e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002572/0.002587, allocations: 2.219 MB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.004173, allocations: 1.484 MB / 0.8164 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.004277, allocations: 4 kB / 0.8164 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.004737, allocations: 176.9 kB / 0.8166 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.005046, allocations: 175.3 kB / 0.8168 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.005255, allocations: 116.4 kB / 0.8169 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.005482, allocations: 247 kB / 0.8171 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.005592, allocations: 37.36 kB / 0.8171 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004171/0.006009, allocations: 171.2 kB / 0.8173 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.006126, allocations: 81.02 kB / 0.8174 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.006147, allocations: 12 kB / 0.8174 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.123e-05/0.006239, allocations: 52.75 kB / 0.8174 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.546e-05/0.006314, allocations: 99.61 kB / 0.8175 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.877e-05/0.006373, allocations: 67.66 kB / 0.8176 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.006648, allocations: 252.1 kB / 0.8178 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.00665, allocations: 0 / 0.8178 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.71e-07/0.00665, allocations: 0 / 0.8178 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.006654, allocations: 1.312 kB / 0.8178 GB, free: 12.28 MB / 0.7761 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.0005825/0.007237, allocations: 0.7319 MB / 0.8186 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.68e-05/0.007264, allocations: 8.031 kB / 0.8186 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.007323, allocations: 58.3 kB / 0.8186 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.007566, allocations: 292.8 kB / 0.8189 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.007582, allocations: 4.375 kB / 0.8189 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.007593, allocations: 8.359 kB / 0.8189 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.007708, allocations: 99.3 kB / 0.819 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.007716, allocations: 3.938 kB / 0.819 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.007725, allocations: 3.984 kB / 0.819 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.00773, allocations: 0 / 0.819 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.086e-05/0.00776, allocations: 15.98 kB / 0.819 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.008124, allocations: 380 kB / 0.8194 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/0.008222, allocations: 60.11 kB / 0.8194 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.008244, allocations: 17.62 kB / 0.8195 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/0.008253, allocations: 0 / 0.8195 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.023e-05/0.008344, allocations: 94.73 kB / 0.8196 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 7.62e-07/0.008344, allocations: 0 / 0.8196 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001708/0.008515, allocations: 118 kB / 0.8197 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.008543, allocations: 59.34 kB / 0.8197 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.008856, allocations: 0.5227 MB / 0.8202 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.008873, allocations: 33.64 kB / 0.8203 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.009013, allocations: 293.6 kB / 0.8205 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.009034, allocations: 19.83 kB / 0.8206 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.009096, allocations: 47.34 kB / 0.8206 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.009251, allocations: 0.5585 MB / 0.8212 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.511e-05/0.009276, allocations: 15.98 kB / 0.8212 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.996e-05/0.009326, allocations: 78.59 kB / 0.8212 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.578e-05/0.009422, allocations: 49.62 kB / 0.8213 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.009423, allocations: 2.562 kB / 0.8213 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001319/0.009555, allocations: 141.5 kB / 0.8214 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.009564, allocations: 8 kB / 0.8214 GB, free: 8.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.009569, allocations: 3.984 kB / 0.8214 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-06/0.009577, allocations: 0 / 0.8214 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.228e-05/0.009649, allocations: 31.94 kB / 0.8215 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.009652, allocations: 0.9375 kB / 0.8215 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.442e-05/0.009706, allocations: 7.984 kB / 0.8215 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.009718, allocations: 5.125 kB / 0.8215 GB, free: 8.324 MB / 0.7761 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 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/0.009807, allocations: 174.4 kB / 0.8216 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.00984, allocations: 56.75 kB / 0.8217 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.009963, allocations: 113.6 kB / 0.8218 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.009965, allocations: 1.062 kB / 0.8218 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.009966, allocations: 0 / 0.8218 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.00997, allocations: 3.984 kB / 0.8218 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.01011, allocations: 202.2 kB / 0.822 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01012, allocations: 3.938 kB / 0.822 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.01013, allocations: 4 kB / 0.822 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.01013, allocations: 1.656 kB / 0.822 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.01014, allocations: 7.984 kB / 0.822 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01014, allocations: 0 / 0.822 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.01014, allocations: 0 / 0.822 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.01031, allocations: 156.1 kB / 0.8222 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.01035, allocations: 48.05 kB / 0.8222 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.01038, allocations: 5.344 kB / 0.8222 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.918e-05/0.01041, allocations: 7.984 kB / 0.8222 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.01044, allocations: 11.98 kB / 0.8222 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.01045, allocations: 0.8438 kB / 0.8222 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001606/0.01061, allocations: 322.6 kB / 0.8226 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01061, allocations: 1.344 kB / 0.8226 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001723/0.01078, allocations: 40 kB / 0.8226 GB, free: 7.133 MB / 0.7761 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 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007394/0.01152, allocations: 402.5 kB / 0.823 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.01163, allocations: 59.58 kB / 0.823 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.01e-07/0.01163, allocations: 0 / 0.823 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.46e-05/0.01167, allocations: 27.67 kB / 0.8231 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.01188, allocations: 61.05 kB / 0.8231 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006563/0.01254, allocations: 0.5667 MB / 0.8237 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.237e-05/0.0126, allocations: 123.8 kB / 0.8238 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.13e-05/0.01265, allocations: 37.7 kB / 0.8238 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.796e-05/0.01275, allocations: 106.2 kB / 0.8239 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.01275, allocations: 0 / 0.8239 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of Templates: time 0.006025/0.01878, allocations: 3.342 MB / 0.8272 GB, free: 2.578 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.027541656978428]