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.001165/0.001165, allocations: 77.11 kB / 9.98 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001745/0.00291, allocations: 448 kB / 10.42 MB, free: 276 kB / 10.45 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.001032/0.001032, allocations: 161.2 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.0024, allocations: 475.5 kB / 11.8 MB, free: 2.371 MB / 13.93 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.045/1.045, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1077/1.153, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.446/2.446, allocations: 447.1 MB / 0.675 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2527/2.698, allocations: 146 MB / 0.8176 GB, free: 3.797 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.493e-06/1.493e-06, allocations: 0 / 0.819 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.319e-05, allocations: 2.312 kB / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002686/0.002709, allocations: 2.275 MB / 0.8212 GB, free: 152 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.004413, allocations: 1.525 MB / 0.8227 GB, free: 14.62 MB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.004523, allocations: 4 kB / 0.8227 GB, free: 14.61 MB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.004944, allocations: 179.5 kB / 0.8228 GB, free: 14.44 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.005253, allocations: 178.9 kB / 0.823 GB, free: 14.26 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.005487, allocations: 123.5 kB / 0.8231 GB, free: 14.14 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.005727, allocations: 239 kB / 0.8234 GB, free: 13.91 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.005843, allocations: 38.47 kB / 0.8234 GB, free: 13.87 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006061/0.006449, allocations: 235.5 kB / 0.8236 GB, free: 13.66 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.00658, allocations: 79.73 kB / 0.8237 GB, free: 13.58 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.006605, allocations: 12 kB / 0.8237 GB, free: 13.57 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.006735, allocations: 55.86 kB / 0.8238 GB, free: 13.51 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 7.391e-05/0.006809, allocations: 87.64 kB / 0.8238 GB, free: 13.43 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 5.467e-05/0.006863, allocations: 55.75 kB / 0.8239 GB, free: 13.37 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.007183, allocations: 235 kB / 0.8241 GB, free: 13.14 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.007195, allocations: 0 / 0.8241 GB, free: 13.14 MB / 0.8074 GB Notification: Performance of FrontEnd: time 1.293e-06/0.007197, allocations: 0 / 0.8241 GB, free: 13.14 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.007208, allocations: 4 kB / 0.8241 GB, free: 13.14 MB / 0.8074 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.0006451/0.007853, allocations: 0.6536 MB / 0.8248 GB, free: 12.46 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.007883, allocations: 8.031 kB / 0.8248 GB, free: 12.45 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.007933, allocations: 32.91 kB / 0.8248 GB, free: 12.42 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.008189, allocations: 274 kB / 0.8251 GB, free: 12.12 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.008207, allocations: 8.375 kB / 0.8251 GB, free: 12.11 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.00822, allocations: 4.375 kB / 0.8251 GB, free: 12.11 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.008351, allocations: 107.3 kB / 0.8252 GB, free: 11.99 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.008357, allocations: 3.938 kB / 0.8252 GB, free: 11.98 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.008364, allocations: 4 kB / 0.8252 GB, free: 11.98 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.008368, allocations: 0 / 0.8252 GB, free: 11.98 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.006e-05/0.008398, allocations: 19.98 kB / 0.8252 GB, free: 11.96 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.008711, allocations: 233.7 kB / 0.8254 GB, free: 11.71 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 9.59e-05/0.008807, allocations: 89.22 kB / 0.8255 GB, free: 11.62 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.008828, allocations: 8.859 kB / 0.8255 GB, free: 11.61 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.008843, allocations: 11.97 kB / 0.8255 GB, free: 11.59 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.008948, allocations: 91.92 kB / 0.8256 GB, free: 11.48 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.008949, allocations: 0 / 0.8256 GB, free: 11.48 MB / 0.8074 GB Notification: Performance of matching and sorting (n=6): time 0.0001369/0.009086, allocations: 77.59 kB / 0.8257 GB, free: 11.4 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.009114, allocations: 59.39 kB / 0.8258 GB, free: 11.33 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.00939, allocations: 442 kB / 0.8262 GB, free: 10.89 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.00941, allocations: 29.7 kB / 0.8262 GB, free: 10.85 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.00948, allocations: 145.3 kB / 0.8263 GB, free: 10.7 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.009499, allocations: 15.89 kB / 0.8264 GB, free: 10.69 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.00955, allocations: 45.67 kB / 0.8264 GB, free: 10.64 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.009657, allocations: 366.7 kB / 0.8267 GB, free: 10.27 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.756e-05/0.009685, allocations: 10.83 kB / 0.8268 GB, free: 10.26 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-05/0.009729, allocations: 64.27 kB / 0.8268 GB, free: 10.18 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.292e-05/0.009801, allocations: 78.22 kB / 0.8269 GB, free: 10.1 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.009804, allocations: 0 / 0.8269 GB, free: 10.1 MB / 0.8074 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001139/0.009918, allocations: 104.4 kB / 0.827 GB, free: 9.988 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.009933, allocations: 6.344 kB / 0.827 GB, free: 9.984 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.009938, allocations: 4 kB / 0.827 GB, free: 9.98 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.009954, allocations: 0 / 0.827 GB, free: 9.98 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.941e-05/0.01005, allocations: 23.98 kB / 0.827 GB, free: 9.957 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.01006, allocations: 4.062 kB / 0.827 GB, free: 9.953 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.841e-05/0.01012, allocations: 19.94 kB / 0.827 GB, free: 9.934 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.01013, allocations: 4 kB / 0.8271 GB, free: 9.93 MB / 0.8074 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.603e-05/0.01023, allocations: 128.5 kB / 0.8272 GB, free: 9.793 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.01025, allocations: 23.97 kB / 0.8272 GB, free: 9.77 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.01038, allocations: 89.64 kB / 0.8273 GB, free: 9.676 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01038, allocations: 112 / 0.8273 GB, free: 9.676 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.01038, allocations: 4.188 kB / 0.8273 GB, free: 9.672 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01039, allocations: 4 kB / 0.8273 GB, free: 9.668 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.01052, allocations: 153.7 kB / 0.8274 GB, free: 9.5 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01052, allocations: 4 kB / 0.8274 GB, free: 9.496 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.01055, allocations: 11.92 kB / 0.8275 GB, free: 9.484 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.01058, allocations: 35.72 kB / 0.8275 GB, free: 9.449 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01059, allocations: 0 / 0.8275 GB, free: 9.449 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.01059, allocations: 4 kB / 0.8275 GB, free: 9.445 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01059, allocations: 0 / 0.8275 GB, free: 9.445 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01059, allocations: 7.938 kB / 0.8275 GB, free: 9.438 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.0107, allocations: 102.7 kB / 0.8276 GB, free: 9.316 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.01073, allocations: 4 kB / 0.8276 GB, free: 9.312 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.653e-05/0.01077, allocations: 4 kB / 0.8276 GB, free: 9.309 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.01081, allocations: 15.97 kB / 0.8276 GB, free: 9.293 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.01082, allocations: 4 kB / 0.8276 GB, free: 9.289 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 0.0001344/0.01096, allocations: 180.4 kB / 0.8278 GB, free: 9.113 MB / 0.8074 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01096, allocations: 0 / 0.8278 GB, free: 9.113 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0001545/0.01111, allocations: 55.88 kB / 0.8278 GB, free: 9.059 MB / 0.8074 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.001366/0.01248, allocations: 0.5475 MB / 0.8284 GB, free: 8.785 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.01263, allocations: 64.64 kB / 0.8284 GB, free: 8.719 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/0.01265, allocations: 12.08 kB / 0.8285 GB, free: 8.707 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.01269, allocations: 20.86 kB / 0.8285 GB, free: 8.684 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.01304, allocations: 361.5 kB / 0.8288 GB, free: 8.273 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.01462, allocations: 0.5938 MB / 0.8294 GB, free: 7.648 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.799e-05/0.01469, allocations: 119.8 kB / 0.8295 GB, free: 7.512 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 7.403e-05/0.01476, allocations: 25.64 kB / 0.8295 GB, free: 7.488 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.01487, allocations: 91.33 kB / 0.8296 GB, free: 7.398 MB / 0.8074 GB Notification: Performance of SimCode: time 1.163e-06/0.01487, allocations: 0 / 0.8296 GB, free: 7.398 MB / 0.8074 GB Notification: Performance of Templates: time 0.0062/0.02107, allocations: 3.341 MB / 0.8329 GB, free: 4.109 MB / 0.8074 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 -emit_protected -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3137233927845955]