Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001528/0.001528, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001686/0.001686, allocations: 208.4 kB / 22.98 MB, free: 4.984 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.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.466/3.466, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002065/0.002065, allocations: 72.98 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5066/0.5086, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004847/0.5135, allocations: 2.147 MB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002995/0.5165, allocations: 1.443 MB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.5167, allocations: 0 / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008478/0.5175, allocations: 179.1 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005731/0.5181, allocations: 179.1 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.5185, allocations: 111.6 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.5189, allocations: 243 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.5191, allocations: 28.58 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.5192, allocations: 95.58 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.5194, allocations: 107.5 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.5195, allocations: 16 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.5196, allocations: 55.97 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.5198, allocations: 99.55 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.5199, allocations: 99.22 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005789/0.5205, allocations: 374.2 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5205, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.597e-06/0.5205, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.5205, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 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.001433/0.522, allocations: 0.6281 MB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.522, allocations: 8.031 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.5221, allocations: 48.66 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006216/0.5228, allocations: 294.9 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.5228, allocations: 8.375 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.5228, allocations: 11.92 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.523, allocations: 107.2 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.5231, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.5231, allocations: 4 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.5231, allocations: 0 / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.5232, allocations: 35.98 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007786/0.524, allocations: 392.3 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.5242, allocations: 66.61 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.619e-05/0.5243, allocations: 28.84 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.5243, allocations: 3.938 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.5245, allocations: 105.1 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.5245, allocations: 4 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004214/0.5249, allocations: 153.3 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.525, allocations: 55.41 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/0.5257, allocations: 0.5496 MB / 1.335 GB, free: 9.203 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.5257, allocations: 25.7 kB / 1.335 GB, free: 9.172 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.526, allocations: 220 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.526, allocations: 23.88 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.093e-05/0.5261, allocations: 45.66 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002553/0.5264, allocations: 354.8 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.5265, allocations: 51.98 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.5267, allocations: 102.1 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.5269, allocations: 99.88 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.5269, allocations: 7.938 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003756/0.5272, allocations: 193.3 kB / 1.336 GB, free: 8.055 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.5273, allocations: 11.94 kB / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5273, allocations: 0 / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.5273, allocations: 0 / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.5274, allocations: 27.98 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.5274, allocations: 3.938 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.5276, allocations: 15.94 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.5276, allocations: 8 kB / 1.336 GB, free: 7.988 MB / 1.029 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.0002384/0.5278, allocations: 183.4 kB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.5279, allocations: 43.72 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/0.5282, allocations: 137.6 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.5282, allocations: 0 / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.5282, allocations: 3.938 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5282, allocations: 0 / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.5286, allocations: 237.1 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5286, allocations: 0 / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.5286, allocations: 4.25 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.5286, allocations: 8 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.5286, allocations: 7.984 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5286, allocations: 0 / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5286, allocations: 7.922 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.5289, allocations: 168.8 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.243e-05/0.529, allocations: 43.72 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.529, allocations: 3.984 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.5291, allocations: 8 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.5292, allocations: 7.984 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.5292, allocations: 11.92 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004542/0.5297, allocations: 378.8 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.5297, allocations: 0 / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002804/0.5299, allocations: 47.92 kB / 1.337 GB, free: 6.648 MB / 1.029 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.001839/0.5318, allocations: 440.7 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002814/0.5321, allocations: 91.89 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5321, allocations: 0 / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-05/0.5322, allocations: 31.94 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.5326, allocations: 65.06 kB / 1.338 GB, free: 6.211 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.5337, allocations: 0.6675 MB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.534, allocations: 217.1 kB / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.968e-05/0.534, allocations: 25.78 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.5341, allocations: 27.42 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.5341, allocations: 4 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of Templates: time 0.009332/0.5434, allocations: 3.409 MB / 1.342 GB, free: 1.875 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.140462108989595]