Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002053/0.002053, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002494/0.002494, allocations: 186 kB / 20.78 MB, free: 1.547 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.494/1.494, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.851/2.851, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 67.89 kB / 1.107 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265/1.267, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003914/1.271, allocations: 2.215 MB / 1.274 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002/1.273, allocations: 1.399 MB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/1.273, allocations: 5.938 kB / 1.276 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006324/1.274, allocations: 201.5 kB / 1.276 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003561/1.274, allocations: 123.9 kB / 1.276 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/1.275, allocations: 150.3 kB / 1.276 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003348/1.275, allocations: 224.8 kB / 1.276 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/1.275, allocations: 30.36 kB / 1.276 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/1.275, allocations: 104.3 kB / 1.276 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/1.276, allocations: 99.64 kB / 1.276 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/1.276, allocations: 14.72 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/1.276, allocations: 54.97 kB / 1.276 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/1.276, allocations: 95.77 kB / 1.277 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/1.276, allocations: 128.6 kB / 1.277 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000532/1.277, allocations: 362.9 kB / 1.277 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.277, allocations: 4 kB / 1.277 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.354e-06/1.277, allocations: 0.7188 kB / 1.277 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.254e-06/1.277, allocations: 0 / 1.277 GB, free: 4.656 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.0009982/1.278, allocations: 0.6905 MB / 1.278 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.278, allocations: 9.312 kB / 1.278 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.911e-05/1.278, allocations: 44.59 kB / 1.278 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/1.278, allocations: 361.6 kB / 1.278 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/1.278, allocations: 6.844 kB / 1.278 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/1.278, allocations: 8.094 kB / 1.278 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/1.278, allocations: 76.41 kB / 1.278 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.278, allocations: 4 kB / 1.278 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/1.278, allocations: 4.906 kB / 1.278 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.278, allocations: 5.609 kB / 1.278 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/1.279, allocations: 34.62 kB / 1.278 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007195/1.279, allocations: 460.7 kB / 1.279 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/1.279, allocations: 64.31 kB / 1.279 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.521e-05/1.28, allocations: 26.23 kB / 1.279 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/1.28, allocations: 0.8125 kB / 1.279 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/1.28, allocations: 75.5 kB / 1.279 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/1.28, allocations: 1 kB / 1.279 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0003508/1.28, allocations: 144.3 kB / 1.279 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/1.28, allocations: 60.34 kB / 1.279 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006179/1.281, allocations: 0.5326 MB / 1.28 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/1.281, allocations: 27.52 kB / 1.28 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/1.281, allocations: 216.9 kB / 1.28 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/1.281, allocations: 29.55 kB / 1.28 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.952e-05/1.281, allocations: 38.78 kB / 1.28 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/1.281, allocations: 357.4 kB / 1.28 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/1.281, allocations: 53.67 kB / 1.28 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/1.281, allocations: 82.77 kB / 1.28 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/1.281, allocations: 84.64 kB / 1.28 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/1.281, allocations: 0 / 1.28 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000359/1.282, allocations: 201.2 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.282, allocations: 6.516 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.282, allocations: 0 / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.282, allocations: 5.906 kB / 1.281 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/1.282, allocations: 25.77 kB / 1.281 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.282, allocations: 1.625 kB / 1.281 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/1.282, allocations: 21.02 kB / 1.281 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/1.282, allocations: 4.625 kB / 1.281 GB, free: 1.988 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.0001805/1.282, allocations: 181.5 kB / 1.281 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/1.282, allocations: 47.8 kB / 1.281 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/1.283, allocations: 132 kB / 1.281 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.283, allocations: 4.781 kB / 1.281 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.283, allocations: 0.7812 kB / 1.281 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.283, allocations: 1.484 kB / 1.281 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/1.283, allocations: 299 kB / 1.281 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/1.283, allocations: 0.5625 kB / 1.281 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/1.283, allocations: 5.297 kB / 1.281 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/1.283, allocations: 0 / 1.281 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/1.283, allocations: 2.531 kB / 1.281 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.283, allocations: 3.938 kB / 1.281 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.283, allocations: 0.625 kB / 1.281 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/1.283, allocations: 154 kB / 1.281 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/1.283, allocations: 119 kB / 1.282 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/1.283, allocations: 5.609 kB / 1.282 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/1.284, allocations: 10.48 kB / 1.282 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/1.284, allocations: 8.109 kB / 1.282 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/1.284, allocations: 11.92 kB / 1.282 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004057/1.284, allocations: 367.5 kB / 1.282 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.284, allocations: 0.5 kB / 1.282 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002727/1.284, allocations: 41.91 kB / 1.282 GB, free: 1.094 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 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * 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.001486/1.286, allocations: 428.1 kB / 1.282 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002814/1.286, allocations: 88.11 kB / 1.282 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.286, allocations: 0 / 1.282 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.569e-05/1.286, allocations: 28.25 kB / 1.283 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/1.287, allocations: 57.28 kB / 1.283 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/1.288, allocations: 0.6591 MB / 1.283 GB, free: 480 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/1.288, allocations: 0.8151 MB / 1.284 GB, free: 15.76 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.983e-05/1.288, allocations: 34.95 kB / 1.284 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/1.288, allocations: 20.67 kB / 1.284 GB, free: 15.74 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/1.288, allocations: 0 / 1.284 GB, free: 15.74 MB / 1.014 GB Notification: Performance of Templates: time 0.00796/1.296, allocations: 2.92 MB / 1.287 GB, free: 15.45 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.64736950956285]