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.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.002694/0.002694, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.003552/0.003552, allocations: 166.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.749/1.749, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.885/2.885, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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 1.943e-06/1.943e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.202e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004413/0.004445, allocations: 2.158 MB / 0.9531 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003335/0.00778, allocations: 1.431 MB / 0.9545 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002503/0.00803, allocations: 4 kB / 0.9545 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000816/0.008846, allocations: 179 kB / 0.9547 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006463/0.009493, allocations: 175.1 kB / 0.9548 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.009945, allocations: 123.5 kB / 0.9549 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005051/0.01045, allocations: 243 kB / 0.9552 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.01063, allocations: 32.56 kB / 0.9552 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.01094, allocations: 135.6 kB / 0.9553 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.01116, allocations: 79.73 kB / 0.9554 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.01122, allocations: 15.94 kB / 0.9554 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.01142, allocations: 55.91 kB / 0.9555 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.01157, allocations: 95.62 kB / 0.9556 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.0117, allocations: 63.72 kB / 0.9556 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006082/0.01231, allocations: 354.7 kB / 0.956 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.01231, allocations: 0 / 0.956 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.01232, allocations: 0 / 0.956 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.01233, allocations: 0 / 0.956 GB, free: 6.406 MB / 0.8575 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.001378/0.01371, allocations: 0.628 MB / 0.9566 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.01376, allocations: 16.02 kB / 0.9566 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.0139, allocations: 44.66 kB / 0.9566 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006171/0.01452, allocations: 302.1 kB / 0.9569 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.01454, allocations: 384 / 0.9569 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.01456, allocations: 4.375 kB / 0.9569 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.01482, allocations: 111.6 kB / 0.957 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.01483, allocations: 0 / 0.957 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.01485, allocations: 7.984 kB / 0.9571 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.01486, allocations: 8 kB / 0.9571 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.01498, allocations: 35.92 kB / 0.9571 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008193/0.0158, allocations: 388.3 kB / 0.9575 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.01604, allocations: 66.61 kB / 0.9575 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.116e-05/0.01611, allocations: 24.84 kB / 0.9576 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.01613, allocations: 4 kB / 0.9576 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.01634, allocations: 101.1 kB / 0.9577 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.714e-06/0.01634, allocations: 4 kB / 0.9577 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004435/0.01679, allocations: 157.3 kB / 0.9578 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.01685, allocations: 51.41 kB / 0.9579 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007541/0.0176, allocations: 0.5418 MB / 0.9584 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.01764, allocations: 37.69 kB / 0.9584 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.01787, allocations: 216 kB / 0.9586 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.0179, allocations: 19.89 kB / 0.9586 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-05/0.01799, allocations: 41.7 kB / 0.9587 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002252/0.01822, allocations: 358.7 kB / 0.959 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.01835, allocations: 51.97 kB / 0.9591 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.01851, allocations: 104.2 kB / 0.9592 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.01871, allocations: 91.33 kB / 0.9593 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01872, allocations: 0 / 0.9593 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003891/0.01911, allocations: 205.3 kB / 0.9595 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.01912, allocations: 7.938 kB / 0.9595 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01913, allocations: 0 / 0.9595 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.01915, allocations: 4 kB / 0.9595 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.01927, allocations: 23.92 kB / 0.9595 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.01928, allocations: 64 / 0.9595 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.01942, allocations: 19.95 kB / 0.9595 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.01944, allocations: 7.984 kB / 0.9595 GB, free: 2.566 MB / 0.8575 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.0002281/0.01967, allocations: 187 kB / 0.9597 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-05/0.01974, allocations: 44.08 kB / 0.9597 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.02006, allocations: 145.5 kB / 0.9599 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.02006, allocations: 4 kB / 0.9599 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.02007, allocations: 4 kB / 0.9599 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.02007, allocations: 0 / 0.9599 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.02036, allocations: 245.1 kB / 0.9601 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02037, allocations: 0 / 0.9601 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.0204, allocations: 8 kB / 0.9601 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.0204, allocations: 0 / 0.9601 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.02041, allocations: 0 / 0.9601 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.02042, allocations: 4 kB / 0.9601 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.02042, allocations: 0 / 0.9601 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.02072, allocations: 160.7 kB / 0.9603 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.199e-05/0.02079, allocations: 39.72 kB / 0.9603 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.02084, allocations: 4 kB / 0.9603 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.682e-05/0.02093, allocations: 11.98 kB / 0.9603 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.02099, allocations: 11.98 kB / 0.9603 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.021, allocations: 4 kB / 0.9604 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005094/0.02151, allocations: 370.8 kB / 0.9607 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.02151, allocations: 0 / 0.9607 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003011/0.02181, allocations: 47.94 kB / 0.9608 GB, free: 1.238 MB / 0.8575 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.001887/0.0237, allocations: 452.7 kB / 0.9612 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003095/0.02401, allocations: 99.89 kB / 0.9613 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02401, allocations: 4.062 kB / 0.9613 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.02411, allocations: 31.91 kB / 0.9613 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.02457, allocations: 70.2 kB / 0.9614 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.0259, allocations: 0.6377 MB / 0.962 GB, free: 116 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.02624, allocations: 208.4 kB / 0.9622 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001106/0.02635, allocations: 29.62 kB / 0.9622 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.02644, allocations: 24.5 kB / 0.9623 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.02644, allocations: 0 / 0.9623 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.009403/0.03584, allocations: 3.023 MB / 0.9652 GB, free: 12.88 MB / 0.8731 GB " [Timeout remaining time 300] 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.004200529307127]