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.001527/0.001527, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001703/0.001703, allocations: 214.1 kB / 22.25 MB, free: 4.855 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.674/1.674, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.022/3.022, allocations: 476 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002269/0.002269, allocations: 63.33 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4721, allocations: 170 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004551/0.4767, allocations: 2.146 MB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.4794, allocations: 1.436 MB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.4796, allocations: 4 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006689/0.4802, allocations: 179 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004893/0.4807, allocations: 171.2 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.481, allocations: 115.6 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.4814, allocations: 251 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.4816, allocations: 32.56 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.4817, allocations: 99.5 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.4819, allocations: 95.55 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.482, allocations: 12 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.4822, allocations: 51.97 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.4823, allocations: 107.5 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.4824, allocations: 99.17 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005639/0.483, allocations: 374.2 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.483, allocations: 0 / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/0.483, allocations: 0 / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.483, allocations: 0 / 1.288 GB, free: 6.762 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.00123/0.4843, allocations: 0.6242 MB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4843, allocations: 12.03 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.513e-05/0.4844, allocations: 44.66 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/0.485, allocations: 298.9 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.485, allocations: 12.31 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.485, allocations: 11.88 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.4853, allocations: 103.4 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4853, allocations: 0 / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.4853, allocations: 0 / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.4853, allocations: 4 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.4854, allocations: 35.97 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007858/0.4862, allocations: 392.2 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.4864, allocations: 66.67 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.478e-05/0.4865, allocations: 28.84 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.4865, allocations: 0 / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.4867, allocations: 109 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.4867, allocations: 0 / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003903/0.4871, allocations: 153.3 kB / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.4872, allocations: 51.41 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006788/0.4879, allocations: 0.5457 MB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.4879, allocations: 29.7 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.4881, allocations: 228 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.4881, allocations: 16.02 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-05/0.4882, allocations: 49.59 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002112/0.4884, allocations: 354.8 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.4885, allocations: 51.97 kB / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.4887, allocations: 110 kB / 1.291 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.4889, allocations: 89.7 kB / 1.291 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4889, allocations: 0 / 1.291 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003526/0.4892, allocations: 205.3 kB / 1.292 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4893, allocations: 4 kB / 1.292 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4893, allocations: 0 / 1.292 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.4893, allocations: 4 kB / 1.292 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.4894, allocations: 23.98 kB / 1.292 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.4894, allocations: 3.938 kB / 1.292 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.4895, allocations: 15.94 kB / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.4896, allocations: 4 kB / 1.292 GB, free: 2.922 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.000209/0.4898, allocations: 185.7 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.4898, allocations: 51.7 kB / 1.292 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.4901, allocations: 137.5 kB / 1.292 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.4901, allocations: 4 kB / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.4901, allocations: 3.938 kB / 1.292 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4901, allocations: 0 / 1.292 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.4904, allocations: 237.1 kB / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4904, allocations: 0 / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.4904, allocations: 11.92 kB / 1.292 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4905, allocations: 7.922 kB / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.4905, allocations: 0 / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4905, allocations: 4 kB / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4905, allocations: 4 kB / 1.292 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.4907, allocations: 164.7 kB / 1.292 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/0.4908, allocations: 43.7 kB / 1.292 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.4909, allocations: 4.25 kB / 1.292 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.4909, allocations: 8 kB / 1.292 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.491, allocations: 15.97 kB / 1.292 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.491, allocations: 7.938 kB / 1.292 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004554/0.4915, allocations: 362.8 kB / 1.293 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4915, allocations: 4 kB / 1.293 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002955/0.4918, allocations: 51.92 kB / 1.293 GB, free: 1.574 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 (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.001884/0.4936, allocations: 443.4 kB / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002922/0.4939, allocations: 99.88 kB / 1.293 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4939, allocations: 0 / 1.293 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.65e-05/0.494, allocations: 27.98 kB / 1.293 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.4944, allocations: 53.09 kB / 1.293 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.4956, allocations: 0.6676 MB / 1.294 GB, free: 464 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.4959, allocations: 216.4 kB / 1.294 GB, free: 228 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.07e-05/0.496, allocations: 29.78 kB / 1.294 GB, free: 200 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.496, allocations: 23.42 kB / 1.294 GB, free: 176 kB / 0.9825 GB Notification: Performance of SimCode: time 7.41e-07/0.496, allocations: 0 / 1.294 GB, free: 176 kB / 0.9825 GB Notification: Performance of Templates: time 0.009264/0.5053, allocations: 3.405 MB / 1.298 GB, free: 12.83 MB / 0.9981 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: 10.322588237002492]