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.001656/0.001656, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001973/0.001973, allocations: 201.2 kB / 22.18 MB, free: 5.211 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.766/1.766, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.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.88/2.88, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 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.002212/0.002212, allocations: 75.89 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8705/0.8727, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004897/0.8776, allocations: 2.212 MB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.8802, allocations: 1.401 MB / 1.278 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.8804, allocations: 4 kB / 1.278 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006792/0.8811, allocations: 191.2 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.8815, allocations: 147.2 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.882, allocations: 143.5 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000412/0.8824, allocations: 227.1 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.8826, allocations: 28.39 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.8828, allocations: 103.5 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.883, allocations: 95.62 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.8831, allocations: 12 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.8832, allocations: 59.98 kB / 1.279 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.8833, allocations: 99.44 kB / 1.279 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.8835, allocations: 127 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005575/0.8841, allocations: 361.1 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.8841, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8841, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.8841, allocations: 3.938 kB / 1.279 GB, free: 15.34 MB / 0.9825 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.001331/0.8854, allocations: 0.6917 MB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.8855, allocations: 8.031 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.8856, allocations: 48.66 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005955/0.8862, allocations: 360.7 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.8862, allocations: 4.375 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.8862, allocations: 7.938 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.8864, allocations: 81.59 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.8864, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.8865, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.8865, allocations: 3.938 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.8866, allocations: 39.98 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008316/0.8874, allocations: 456.5 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.8876, allocations: 66.61 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.851e-05/0.8877, allocations: 24.84 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.8877, allocations: 4 kB / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.8879, allocations: 75.39 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.8879, allocations: 0 / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003854/0.8883, allocations: 145.3 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.8884, allocations: 55.34 kB / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.889, allocations: 0.5333 MB / 1.282 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.889, allocations: 29.7 kB / 1.282 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.8892, allocations: 224 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.8893, allocations: 19.84 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.004e-05/0.8894, allocations: 41.7 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.8895, allocations: 354.8 kB / 1.282 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.8896, allocations: 47.98 kB / 1.282 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.8898, allocations: 80.42 kB / 1.282 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.8899, allocations: 100.7 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.8899, allocations: 4 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003266/0.8903, allocations: 201.2 kB / 1.283 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.8903, allocations: 4 kB / 1.283 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.8903, allocations: 4 kB / 1.283 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.8903, allocations: 0 / 1.283 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.8904, allocations: 23.92 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.8904, allocations: 4 kB / 1.283 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.8905, allocations: 12.03 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.8906, allocations: 7.984 kB / 1.283 GB, free: 11.38 MB / 0.9825 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.0001928/0.8908, allocations: 187.4 kB / 1.283 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.8908, allocations: 47.66 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.8911, allocations: 125.5 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.8911, allocations: 7.938 kB / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.8911, allocations: 0 / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8911, allocations: 4 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.8914, allocations: 293.5 kB / 1.283 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8914, allocations: 0 / 1.283 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.8914, allocations: 4 kB / 1.283 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.8914, allocations: 3.984 kB / 1.283 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.8914, allocations: 4 kB / 1.283 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.8914, allocations: 11.86 kB / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8914, allocations: 0 / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.8917, allocations: 152.8 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.8918, allocations: 116.8 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.8918, allocations: 4 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.8919, allocations: 11.92 kB / 1.284 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.892, allocations: 11.98 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.892, allocations: 8.125 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004163/0.8924, allocations: 362.8 kB / 1.284 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8924, allocations: 0 / 1.284 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002739/0.8927, allocations: 43.92 kB / 1.284 GB, free: 9.914 MB / 0.9825 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.001599/0.8943, allocations: 422.2 kB / 1.284 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.8945, allocations: 89.88 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8945, allocations: 0 / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.267e-05/0.8946, allocations: 31.92 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.895, allocations: 60.89 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.8961, allocations: 0.6668 MB / 1.285 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.8965, allocations: 0.8177 MB / 1.286 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.445e-05/0.8966, allocations: 17.55 kB / 1.286 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.8967, allocations: 27.42 kB / 1.286 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.8967, allocations: 0 / 1.286 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of Templates: time 0.007848/0.9045, allocations: 2.914 MB / 1.289 GB, free: 5.02 MB / 0.9825 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.424869248177856]