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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 489.3 MB / 0.7687 GB, free: 3.809 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.91 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003608/1.021, allocations: 2.18 MB / 1.265 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002034/1.023, allocations: 1.384 MB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/1.023, allocations: 5.938 kB / 1.266 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006343/1.024, allocations: 193.9 kB / 1.266 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003051/1.024, allocations: 121.9 kB / 1.266 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/1.024, allocations: 147.8 kB / 1.267 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003092/1.025, allocations: 228 kB / 1.267 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/1.025, allocations: 56.14 kB / 1.267 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/1.025, allocations: 93.39 kB / 1.267 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/1.025, allocations: 92.31 kB / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/1.025, allocations: 10.66 kB / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/1.025, allocations: 60.17 kB / 1.267 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/1.025, allocations: 94.44 kB / 1.267 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/1.026, allocations: 136.6 kB / 1.267 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00054/1.026, allocations: 360.2 kB / 1.268 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/1.026, allocations: 0 / 1.268 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.535e-06/1.026, allocations: 0.7812 kB / 1.268 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.373e-06/1.026, allocations: 0 / 1.268 GB, free: 4.773 MB / 0.9981 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.0009605/1.027, allocations: 0.6832 MB / 1.268 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.027, allocations: 9.969 kB / 1.268 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.562e-05/1.027, allocations: 45.5 kB / 1.268 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/1.028, allocations: 364.6 kB / 1.269 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/1.028, allocations: 3.672 kB / 1.269 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/1.028, allocations: 12.16 kB / 1.269 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/1.028, allocations: 79.19 kB / 1.269 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.028, allocations: 0.875 kB / 1.269 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/1.028, allocations: 0.9688 kB / 1.269 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.028, allocations: 1.766 kB / 1.269 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/1.028, allocations: 35.41 kB / 1.269 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006999/1.029, allocations: 464.6 kB / 1.269 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/1.029, allocations: 65.05 kB / 1.269 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.343e-05/1.029, allocations: 23.27 kB / 1.269 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/1.029, allocations: 4.75 kB / 1.269 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/1.029, allocations: 80.27 kB / 1.269 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/1.029, allocations: 0 / 1.269 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0003767/1.03, allocations: 143.1 kB / 1.27 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/1.03, allocations: 57.02 kB / 1.27 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00066/1.03, allocations: 0.5297 MB / 1.27 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/1.03, allocations: 31.08 kB / 1.27 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/1.031, allocations: 222.6 kB / 1.27 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/1.031, allocations: 21.75 kB / 1.27 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/1.031, allocations: 40.62 kB / 1.27 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.423e-05/1.031, allocations: 357.7 kB / 1.271 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/1.031, allocations: 49.52 kB / 1.271 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/1.031, allocations: 83.45 kB / 1.271 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/1.031, allocations: 88.28 kB / 1.271 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.031, allocations: 0.8125 kB / 1.271 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003401/1.032, allocations: 208 kB / 1.271 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.032, allocations: 9.609 kB / 1.271 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.032, allocations: 1.094 kB / 1.271 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.032, allocations: 1.719 kB / 1.271 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/1.032, allocations: 25.52 kB / 1.271 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.032, allocations: 0.9375 kB / 1.271 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/1.032, allocations: 13.97 kB / 1.271 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/1.032, allocations: 8.984 kB / 1.271 GB, free: 2.117 MB / 0.9981 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 0.0001656/1.032, allocations: 185.5 kB / 1.271 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/1.032, allocations: 46.48 kB / 1.271 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.064e-05/1.032, allocations: 46.09 kB / 1.271 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.032, allocations: 5.734 kB / 1.271 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.032, allocations: 0 / 1.271 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.032, allocations: 1.594 kB / 1.271 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/1.032, allocations: 299.3 kB / 1.272 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/1.032, allocations: 4.875 kB / 1.272 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/1.033, allocations: 3 kB / 1.272 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.033, allocations: 3.984 kB / 1.272 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/1.033, allocations: 1.781 kB / 1.272 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/1.033, allocations: 3.938 kB / 1.272 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.033, allocations: 1.188 kB / 1.272 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/1.033, allocations: 147.9 kB / 1.272 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/1.033, allocations: 125.9 kB / 1.272 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/1.033, allocations: 2.797 kB / 1.272 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/1.033, allocations: 9.922 kB / 1.272 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/1.033, allocations: 12.41 kB / 1.272 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/1.033, allocations: 6.469 kB / 1.272 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004138/1.034, allocations: 361.3 kB / 1.272 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.034, allocations: 0.5 kB / 1.272 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000282/1.034, allocations: 39.34 kB / 1.272 GB, free: 1.277 MB / 0.9981 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 (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.00148/1.035, allocations: 435.5 kB / 1.273 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002807/1.036, allocations: 90.86 kB / 1.273 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.036, allocations: 0 / 1.273 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.925e-05/1.036, allocations: 28.48 kB / 1.273 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/1.036, allocations: 55.52 kB / 1.273 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/1.037, allocations: 0.686 MB / 1.274 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/1.037, allocations: 0.8143 MB / 1.275 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/1.038, allocations: 20 kB / 1.275 GB, free: 15.9 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/1.038, allocations: 0 / 1.275 GB, free: 15.9 MB / 1.014 GB Notification: Performance of Templates: time 0.007991/1.046, allocations: 4.142 MB / 1.279 GB, free: 15.1 MB / 1.014 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.170075382106006]