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.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.001055/0.001055, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001648/0.001648, allocations: 177 kB / 23.36 MB, free: 1.137 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.9827/0.9827, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.528/2.528, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.631e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003325/0.003352, allocations: 2.264 MB / 0.8409 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002057/0.005408, allocations: 1.509 MB / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.005548, allocations: 3.938 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000585/0.006133, allocations: 179.5 kB / 0.8425 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.006521, allocations: 183 kB / 0.8427 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.006779, allocations: 107.6 kB / 0.8428 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.007071, allocations: 250.9 kB / 0.843 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.007198, allocations: 30.53 kB / 0.8431 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005555/0.007753, allocations: 174.5 kB / 0.8432 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.007896, allocations: 79.67 kB / 0.8433 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.007928, allocations: 12 kB / 0.8433 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.008055, allocations: 55.92 kB / 0.8434 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.142e-05/0.008136, allocations: 95.61 kB / 0.8435 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.366e-05/0.0082, allocations: 59.73 kB / 0.8435 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.008534, allocations: 254.8 kB / 0.8438 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.008538, allocations: 0 / 0.8438 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.182e-06/0.00854, allocations: 0 / 0.8438 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.008546, allocations: 0 / 0.8438 GB, free: 8.953 MB / 0.8073 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.0005977/0.009143, allocations: 0.5954 MB / 0.8443 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.009174, allocations: 8.625 kB / 0.8443 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.009225, allocations: 28.91 kB / 0.8444 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.009494, allocations: 286 kB / 0.8446 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.009513, allocations: 8.375 kB / 0.8446 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.009524, allocations: 4.375 kB / 0.8447 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.009669, allocations: 103.4 kB / 0.8448 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.009679, allocations: 3.938 kB / 0.8448 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.009686, allocations: 0 / 0.8448 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.009691, allocations: 0 / 0.8448 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.089e-05/0.009722, allocations: 15.94 kB / 0.8448 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.01008, allocations: 233.8 kB / 0.845 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.01018, allocations: 89.23 kB / 0.8451 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.0102, allocations: 16.84 kB / 0.8451 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.01021, allocations: 0 / 0.8451 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.01033, allocations: 99.84 kB / 0.8452 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.01033, allocations: 0 / 0.8452 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001322/0.01046, allocations: 73.66 kB / 0.8453 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.01048, allocations: 55.41 kB / 0.8453 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.01075, allocations: 438.1 kB / 0.8457 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.01077, allocations: 25.7 kB / 0.8458 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.01085, allocations: 161.2 kB / 0.8459 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.01087, allocations: 11.91 kB / 0.8459 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.01092, allocations: 49.66 kB / 0.846 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.01102, allocations: 354.7 kB / 0.8463 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-05/0.01105, allocations: 22.72 kB / 0.8463 GB, free: 6.141 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.74e-05/0.01109, allocations: 64.45 kB / 0.8464 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.27e-05/0.01116, allocations: 63.12 kB / 0.8465 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01116, allocations: 4 kB / 0.8465 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001158/0.01128, allocations: 110.8 kB / 0.8466 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.01129, allocations: 8 kB / 0.8466 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01129, allocations: 0 / 0.8466 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.01131, allocations: 3.984 kB / 0.8466 GB, free: 5.863 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.01139, allocations: 23.98 kB / 0.8466 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.01139, allocations: 0 / 0.8466 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.787e-05/0.01145, allocations: 19.94 kB / 0.8466 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.01147, allocations: 0 / 0.8466 GB, free: 5.82 MB / 0.8073 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 9.276e-05/0.01156, allocations: 130.6 kB / 0.8467 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.01158, allocations: 23.97 kB / 0.8468 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.0117, allocations: 93.64 kB / 0.8468 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.0117, allocations: 0 / 0.8468 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.0117, allocations: 112 / 0.8468 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.0117, allocations: 3.938 kB / 0.8469 GB, free: 5.559 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.01184, allocations: 149.7 kB / 0.847 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01184, allocations: 4 kB / 0.847 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.01187, allocations: 15.86 kB / 0.847 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01187, allocations: 0 / 0.847 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.01188, allocations: 0 / 0.847 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01188, allocations: 0 / 0.847 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01188, allocations: 0 / 0.847 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.012e-05/0.01197, allocations: 106.8 kB / 0.8471 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.01201, allocations: 47.58 kB / 0.8472 GB, free: 5.203 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.01203, allocations: 4 kB / 0.8472 GB, free: 5.199 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.671e-05/0.01207, allocations: 4 kB / 0.8472 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.0121, allocations: 11.97 kB / 0.8472 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.01211, allocations: 4 kB / 0.8472 GB, free: 5.18 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001315/0.01224, allocations: 180.4 kB / 0.8474 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01224, allocations: 0 / 0.8474 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001583/0.0124, allocations: 47.98 kB / 0.8474 GB, free: 4.957 MB / 0.8073 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.001253/0.01365, allocations: 0.5076 MB / 0.8479 GB, free: 4.672 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.01378, allocations: 59.3 kB / 0.848 GB, free: 4.613 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.01378, allocations: 4 kB / 0.848 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.01382, allocations: 20.84 kB / 0.848 GB, free: 4.586 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.01402, allocations: 66.36 kB / 0.848 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007822/0.01481, allocations: 0.5745 MB / 0.8486 GB, free: 3.918 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.033e-05/0.01488, allocations: 119.9 kB / 0.8487 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.963e-05/0.01494, allocations: 21.62 kB / 0.8487 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.01504, allocations: 87.3 kB / 0.8488 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of SimCode: time 6.41e-07/0.01504, allocations: 0 / 0.8488 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of Templates: time 0.006188/0.02123, allocations: 3.279 MB / 0.852 GB, free: 464 kB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.455592988058925]