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.002007/0.002007, 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.003544/0.003544, allocations: 213.8 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.654/1.654, allocations: 230.6 MB / 256 MB, free: 7.785 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.751/3.751, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002207/0.002207, allocations: 68.27 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5305/0.5327, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004824/0.5375, allocations: 2.148 MB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00292/0.5404, allocations: 1.432 MB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.5405, allocations: 4 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007636/0.5413, allocations: 187.5 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004612/0.5418, allocations: 167.2 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.5421, allocations: 115.6 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.5424, allocations: 243.1 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.5426, allocations: 24.58 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.5428, allocations: 103.5 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.543, allocations: 103.5 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.543, allocations: 12 kB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.5432, allocations: 59.91 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.5433, allocations: 91.62 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.5434, allocations: 99.2 kB / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005406/0.544, allocations: 374.2 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.544, allocations: 0 / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/0.544, allocations: 0 / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.544, allocations: 0 / 1.369 GB, free: 8.391 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.00119/0.5452, allocations: 0.6281 MB / 1.369 GB, free: 7.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.5452, allocations: 8.031 kB / 1.369 GB, free: 7.723 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.5453, allocations: 48.61 kB / 1.37 GB, free: 7.676 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.5458, allocations: 302.8 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.5459, allocations: 384 / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.5459, allocations: 15.94 kB / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.5462, allocations: 99.36 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5462, allocations: 3.938 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.5462, allocations: 0 / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.5462, allocations: 4 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.5463, allocations: 39.98 kB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008247/0.5471, allocations: 392.2 kB / 1.37 GB, free: 6.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.5474, allocations: 66.67 kB / 1.37 GB, free: 6.695 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.075e-05/0.5474, allocations: 20.86 kB / 1.37 GB, free: 6.672 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.5475, allocations: 4 kB / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.5477, allocations: 105 kB / 1.371 GB, free: 6.547 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.5477, allocations: 3.938 kB / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004018/0.5481, allocations: 157.4 kB / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/0.5482, allocations: 51.41 kB / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007015/0.5489, allocations: 0.5534 MB / 1.371 GB, free: 5.754 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.5489, allocations: 25.7 kB / 1.371 GB, free: 5.723 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.5491, allocations: 220 kB / 1.372 GB, free: 5.504 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.5492, allocations: 19.89 kB / 1.372 GB, free: 5.484 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-05/0.5492, allocations: 41.7 kB / 1.372 GB, free: 5.438 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.5494, allocations: 358.8 kB / 1.372 GB, free: 5.078 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.5496, allocations: 51.89 kB / 1.372 GB, free: 5.027 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.5497, allocations: 108.2 kB / 1.372 GB, free: 4.906 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.5499, allocations: 92.53 kB / 1.372 GB, free: 4.812 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.5499, allocations: 0 / 1.372 GB, free: 4.812 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003472/0.5502, allocations: 209.2 kB / 1.372 GB, free: 4.602 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.5503, allocations: 4 kB / 1.372 GB, free: 4.598 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.5503, allocations: 4 kB / 1.372 GB, free: 4.594 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.5503, allocations: 0 / 1.372 GB, free: 4.594 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.5504, allocations: 19.98 kB / 1.372 GB, free: 4.574 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.5504, allocations: 7.938 kB / 1.372 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.5505, allocations: 16.12 kB / 1.372 GB, free: 4.551 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.5506, allocations: 11.94 kB / 1.372 GB, free: 4.539 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.0002303/0.5508, allocations: 181.7 kB / 1.373 GB, free: 4.352 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.5509, allocations: 47.67 kB / 1.373 GB, free: 4.305 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.5511, allocations: 137.6 kB / 1.373 GB, free: 4.164 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5511, allocations: 0 / 1.373 GB, free: 4.164 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5512, allocations: 3.938 kB / 1.373 GB, free: 4.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5512, allocations: 3.938 kB / 1.373 GB, free: 4.156 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.5514, allocations: 241.1 kB / 1.373 GB, free: 3.891 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5514, allocations: 4 kB / 1.373 GB, free: 3.887 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.899e-05/0.5515, allocations: 7.984 kB / 1.373 GB, free: 3.879 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5515, allocations: 0 / 1.373 GB, free: 3.879 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.5515, allocations: 7.984 kB / 1.373 GB, free: 3.871 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.5515, allocations: 0 / 1.373 GB, free: 3.871 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5515, allocations: 0 / 1.373 GB, free: 3.871 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.5517, allocations: 156.8 kB / 1.373 GB, free: 3.699 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.394e-05/0.5518, allocations: 51.66 kB / 1.373 GB, free: 3.648 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.5519, allocations: 0 / 1.373 GB, free: 3.648 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.5519, allocations: 4 kB / 1.373 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.552, allocations: 19.97 kB / 1.373 GB, free: 3.625 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.552, allocations: 8.188 kB / 1.373 GB, free: 3.617 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004247/0.5524, allocations: 370.8 kB / 1.374 GB, free: 3.258 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.5524, allocations: 0 / 1.374 GB, free: 3.258 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002625/0.5527, allocations: 51.86 kB / 1.374 GB, free: 3.207 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.001793/0.5545, allocations: 443 kB / 1.374 GB, free: 2.945 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002739/0.5548, allocations: 95.89 kB / 1.374 GB, free: 2.852 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5548, allocations: 0 / 1.374 GB, free: 2.852 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.348e-05/0.5548, allocations: 32.05 kB / 1.374 GB, free: 2.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.5552, allocations: 56.58 kB / 1.374 GB, free: 2.766 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.5564, allocations: 0.6754 MB / 1.375 GB, free: 2.062 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.5567, allocations: 212.4 kB / 1.375 GB, free: 1.836 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.599e-05/0.5568, allocations: 25.8 kB / 1.375 GB, free: 1.812 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.5569, allocations: 27.42 kB / 1.375 GB, free: 1.785 MB / 1.061 GB Notification: Performance of SimCode: time 7.22e-07/0.5569, allocations: 0 / 1.375 GB, free: 1.785 MB / 1.061 GB Notification: Performance of Templates: time 0.009533/0.5664, allocations: 3.405 MB / 1.378 GB, free: 14.43 MB / 1.076 GB " [Timeout remaining time 299] 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/jenkins/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: 10.925530571490526]