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.001676/0.001676, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001819/0.001819, allocations: 210.5 kB / 22.99 MB, free: 4.957 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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.241/3.241, allocations: 0.49 GB / 0.7959 GB, free: 35.33 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.002063/0.002063, allocations: 65.36 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3553, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004022/0.3593, allocations: 2.153 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00251/0.3618, allocations: 1.439 MB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.3619, allocations: 3.938 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006289/0.3626, allocations: 175.1 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004404/0.363, allocations: 175.2 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.3633, allocations: 119.6 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.3636, allocations: 235.1 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.3638, allocations: 32.52 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.3639, allocations: 95.58 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.3641, allocations: 111.4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.3641, allocations: 12 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.3642, allocations: 51.98 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.3644, allocations: 95.66 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.3645, allocations: 99.17 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004834/0.365, allocations: 378.1 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.365, allocations: 4 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.365, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.365, allocations: 0 / 1.332 GB, free: 11.83 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.001043/0.366, allocations: 0.6281 MB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3661, allocations: 8.031 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.783e-05/0.3662, allocations: 44.66 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.3667, allocations: 298.9 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3667, allocations: 8.375 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.3667, allocations: 7.938 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.3669, allocations: 111.3 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3669, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3669, allocations: 4 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3669, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.3671, allocations: 35.98 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000738/0.3678, allocations: 392.2 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.368, allocations: 70.61 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.375e-05/0.3681, allocations: 24.84 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.3681, allocations: 4 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.3683, allocations: 105.1 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3683, allocations: 4 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003911/0.3687, allocations: 153.3 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.3687, allocations: 55.34 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006722/0.3694, allocations: 0.5496 MB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.3694, allocations: 25.7 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.3696, allocations: 220 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.3697, allocations: 23.88 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.01e-05/0.3698, allocations: 53.59 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3699, allocations: 354.8 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.3701, allocations: 51.98 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.3702, allocations: 106.1 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.3704, allocations: 85.69 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3704, allocations: 4 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003496/0.3708, allocations: 198.9 kB / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3708, allocations: 8 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3708, allocations: 0 / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3708, allocations: 4.062 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.3709, allocations: 31.92 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3709, allocations: 3.938 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.371, allocations: 15.94 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.3711, allocations: 8 kB / 1.336 GB, free: 7.973 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.0001926/0.3713, allocations: 174.3 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.3713, allocations: 43.72 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.3716, allocations: 145.5 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3716, allocations: 4 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.3716, allocations: 7.922 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3716, allocations: 0 / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.3719, allocations: 233.1 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3719, allocations: 0 / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.3719, allocations: 4 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3719, allocations: 4.109 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3719, allocations: 3.938 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3719, allocations: 0 / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3719, allocations: 3.984 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.3722, allocations: 168.6 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.998e-05/0.3723, allocations: 47.72 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.3724, allocations: 0 / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.487e-05/0.3724, allocations: 11.98 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.3725, allocations: 11.97 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.3725, allocations: 12.17 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004312/0.373, allocations: 370.8 kB / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.373, allocations: 0 / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002769/0.3732, allocations: 43.94 kB / 1.337 GB, free: 6.645 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.001785/0.375, allocations: 450.6 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002703/0.3753, allocations: 87.91 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3753, allocations: 0 / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.6e-05/0.3754, allocations: 31.98 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.3758, allocations: 55.88 kB / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.3768, allocations: 0.6754 MB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.3771, allocations: 216.4 kB / 1.338 GB, free: 5.277 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.202e-05/0.3772, allocations: 33.72 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.3772, allocations: 27.42 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3772, allocations: 0 / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of Templates: time 0.008402/0.3856, allocations: 3.414 MB / 1.342 GB, free: 1.859 MB / 1.029 GB " [Timeout remaining time 300] 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 gbode -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: 9.263997360991198]