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.001941/0.001941, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.002312/0.002312, allocations: 207.9 kB / 23 MB, free: 4.965 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.36/3.36, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 71.05 kB / 1.187 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3625, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004055/0.3665, allocations: 2.158 MB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002639/0.3692, allocations: 1.424 MB / 1.368 GB, free: 9.992 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.3693, allocations: 3.938 kB / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006412/0.37, allocations: 183.6 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.3704, allocations: 171.2 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.3707, allocations: 115.6 kB / 1.369 GB, free: 9.527 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.3711, allocations: 239.1 kB / 1.369 GB, free: 9.293 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.3712, allocations: 28.52 kB / 1.369 GB, free: 9.262 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.3714, allocations: 103.5 kB / 1.369 GB, free: 9.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.3715, allocations: 95.55 kB / 1.369 GB, free: 9.066 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.731e-05/0.3716, allocations: 16 kB / 1.369 GB, free: 9.051 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.3717, allocations: 59.91 kB / 1.369 GB, free: 8.992 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.3719, allocations: 99.59 kB / 1.369 GB, free: 8.895 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.372, allocations: 91.23 kB / 1.369 GB, free: 8.805 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.3725, allocations: 374.2 kB / 1.37 GB, free: 8.438 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3725, allocations: 3.938 kB / 1.37 GB, free: 8.434 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.043e-06/0.3725, allocations: 0 / 1.37 GB, free: 8.434 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.3725, allocations: 0 / 1.37 GB, free: 8.434 MB / 1.061 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.00112/0.3736, allocations: 0.6243 MB / 1.37 GB, free: 7.777 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3736, allocations: 8.031 kB / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.883e-05/0.3737, allocations: 52.61 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.3742, allocations: 298.9 kB / 1.371 GB, free: 7.402 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.3742, allocations: 4.375 kB / 1.371 GB, free: 7.398 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.3743, allocations: 11.94 kB / 1.371 GB, free: 7.387 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.3745, allocations: 107.2 kB / 1.371 GB, free: 7.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3745, allocations: 0 / 1.371 GB, free: 7.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3745, allocations: 7.938 kB / 1.371 GB, free: 7.262 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3745, allocations: 0 / 1.371 GB, free: 7.262 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.3746, allocations: 39.97 kB / 1.371 GB, free: 7.223 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007267/0.3754, allocations: 392.2 kB / 1.371 GB, free: 6.809 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.3756, allocations: 66.67 kB / 1.371 GB, free: 6.734 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.3757, allocations: 24.86 kB / 1.371 GB, free: 6.707 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.3757, allocations: 0 / 1.371 GB, free: 6.707 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.3759, allocations: 109 kB / 1.371 GB, free: 6.582 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.3759, allocations: 0 / 1.371 GB, free: 6.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0003663/0.3762, allocations: 149.4 kB / 1.371 GB, free: 6.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3763, allocations: 51.41 kB / 1.372 GB, free: 6.367 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006537/0.3769, allocations: 0.5573 MB / 1.372 GB, free: 5.797 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.377, allocations: 25.7 kB / 1.372 GB, free: 5.766 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.3772, allocations: 224 kB / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.3772, allocations: 19.84 kB / 1.372 GB, free: 5.523 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.3773, allocations: 41.7 kB / 1.372 GB, free: 5.477 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.3774, allocations: 358.8 kB / 1.373 GB, free: 5.117 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.3776, allocations: 51.89 kB / 1.373 GB, free: 5.066 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.3777, allocations: 104.2 kB / 1.373 GB, free: 4.949 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.3779, allocations: 89.69 kB / 1.373 GB, free: 4.855 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3779, allocations: 4.141 kB / 1.373 GB, free: 4.852 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003397/0.3782, allocations: 211.5 kB / 1.373 GB, free: 4.641 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.3782, allocations: 8 kB / 1.373 GB, free: 4.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3783, allocations: 0 / 1.373 GB, free: 4.633 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3783, allocations: 0 / 1.373 GB, free: 4.633 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.3784, allocations: 23.98 kB / 1.373 GB, free: 4.609 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.3784, allocations: 7.875 kB / 1.373 GB, free: 4.602 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.3785, allocations: 15.98 kB / 1.373 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.3785, allocations: 4 kB / 1.373 GB, free: 4.582 MB / 1.061 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.0002008/0.3787, allocations: 187.3 kB / 1.373 GB, free: 4.391 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.3788, allocations: 47.67 kB / 1.373 GB, free: 4.344 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.3791, allocations: 149.5 kB / 1.374 GB, free: 4.191 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3791, allocations: 0 / 1.374 GB, free: 4.191 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3791, allocations: 3.938 kB / 1.374 GB, free: 4.188 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3791, allocations: 0 / 1.374 GB, free: 4.188 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.3794, allocations: 237.1 kB / 1.374 GB, free: 3.926 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3794, allocations: 0 / 1.374 GB, free: 3.926 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.3794, allocations: 8 kB / 1.374 GB, free: 3.918 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3794, allocations: 0 / 1.374 GB, free: 3.918 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.3794, allocations: 7.984 kB / 1.374 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3794, allocations: 0 / 1.374 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3794, allocations: 0 / 1.374 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.3797, allocations: 168.7 kB / 1.374 GB, free: 3.727 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.3798, allocations: 47.66 kB / 1.374 GB, free: 3.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.3798, allocations: 0 / 1.374 GB, free: 3.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.3799, allocations: 8.188 kB / 1.374 GB, free: 3.672 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.3799, allocations: 15.97 kB / 1.374 GB, free: 3.656 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.38, allocations: 11.94 kB / 1.374 GB, free: 3.645 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004242/0.3804, allocations: 366.8 kB / 1.374 GB, free: 3.289 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3804, allocations: 4 kB / 1.374 GB, free: 3.285 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002798/0.3807, allocations: 47.92 kB / 1.374 GB, free: 3.238 MB / 1.061 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.001689/0.3824, allocations: 436.2 kB / 1.375 GB, free: 2.988 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002702/0.3826, allocations: 99.88 kB / 1.375 GB, free: 2.891 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3826, allocations: 0 / 1.375 GB, free: 2.891 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.173e-05/0.3827, allocations: 27.98 kB / 1.375 GB, free: 2.863 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.3831, allocations: 56.88 kB / 1.375 GB, free: 2.809 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.3842, allocations: 0.7161 MB / 1.376 GB, free: 2.059 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.3844, allocations: 208.4 kB / 1.376 GB, free: 1.836 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.3845, allocations: 23.42 kB / 1.376 GB, free: 1.812 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/0.3845, allocations: 0 / 1.376 GB, free: 1.812 MB / 1.061 GB Notification: Performance of Templates: time 0.007628/0.3921, allocations: 4.408 MB / 1.38 GB, free: 13.41 MB / 1.076 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=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/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.182786462362856]