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.001543/0.001543, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002236/0.002236, allocations: 218 kB / 23.01 MB, free: 4.609 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.145/3.145, allocations: 0.49 GB / 0.7958 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.002043/0.002043, allocations: 75.28 kB / 1.155 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.36, allocations: 176.1 MB / 1.327 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003935/0.364, allocations: 2.239 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002542/0.3665, allocations: 1.544 MB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.3667, allocations: 7.938 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006412/0.3673, allocations: 191.1 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004529/0.3677, allocations: 175.2 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.3681, allocations: 111.6 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003592/0.3684, allocations: 243 kB / 1.332 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.3686, allocations: 28.58 kB / 1.332 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.3688, allocations: 107.6 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.3689, allocations: 103.5 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.369, allocations: 12 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.3691, allocations: 51.98 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.3692, allocations: 99.59 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.3694, allocations: 142.9 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004863/0.3698, allocations: 362.2 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3698, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3699, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3699, allocations: 0 / 1.332 GB, free: 12.04 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.001053/0.3709, allocations: 0.632 MB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3709, allocations: 11.97 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.733e-05/0.371, allocations: 44.66 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.3715, allocations: 306.8 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.3715, allocations: 4.375 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.3715, allocations: 7.938 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.3717, allocations: 77.66 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3717, allocations: 4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3718, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3718, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.3719, allocations: 43.91 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/0.3726, allocations: 423.7 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.3728, allocations: 70.61 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.3728, allocations: 20.84 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3729, allocations: 0 / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.373, allocations: 87.48 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.373, allocations: 3.938 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003741/0.3734, allocations: 149.3 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.3735, allocations: 55.34 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006603/0.3741, allocations: 0.5457 MB / 1.335 GB, free: 9.414 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.3742, allocations: 33.7 kB / 1.335 GB, free: 9.375 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.3744, allocations: 216 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.3744, allocations: 19.88 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.678e-05/0.3745, allocations: 45.66 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3746, allocations: 362.8 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.3748, allocations: 43.98 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.3749, allocations: 82.45 kB / 1.336 GB, free: 8.594 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.3751, allocations: 96.42 kB / 1.336 GB, free: 8.496 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3751, allocations: 0 / 1.336 GB, free: 8.496 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003277/0.3754, allocations: 189.4 kB / 1.336 GB, free: 8.305 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3754, allocations: 8 kB / 1.336 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3754, allocations: 0 / 1.336 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3754, allocations: 0 / 1.336 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.3756, allocations: 31.86 kB / 1.336 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.3756, allocations: 0 / 1.336 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.3757, allocations: 23.91 kB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.3757, allocations: 8 kB / 1.336 GB, free: 8.234 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.0001937/0.3759, allocations: 182.3 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.376, allocations: 43.72 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.3762, allocations: 133.5 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.3762, allocations: 3.938 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3762, allocations: 320 / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3762, allocations: 3.938 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.3765, allocations: 272.6 kB / 1.337 GB, free: 7.547 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3765, allocations: 8 kB / 1.337 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.3765, allocations: 0 / 1.337 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3765, allocations: 4 kB / 1.337 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3766, allocations: 0 / 1.337 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3766, allocations: 3.938 kB / 1.337 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3766, allocations: 0 / 1.337 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.3768, allocations: 160.7 kB / 1.337 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.3769, allocations: 35.72 kB / 1.337 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.3769, allocations: 11.94 kB / 1.337 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.758e-05/0.377, allocations: 15.92 kB / 1.337 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.3771, allocations: 7.984 kB / 1.337 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.3771, allocations: 4 kB / 1.337 GB, free: 7.281 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004103/0.3775, allocations: 370.8 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3775, allocations: 0 / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002749/0.3778, allocations: 43.94 kB / 1.337 GB, free: 6.879 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 (6): * Single equations (assignments): 4 * 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.001611/0.3794, allocations: 417.2 kB / 1.338 GB, free: 6.617 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.3796, allocations: 95.89 kB / 1.338 GB, free: 6.523 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3796, allocations: 0 / 1.338 GB, free: 6.523 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.3797, allocations: 20 kB / 1.338 GB, free: 6.504 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.3801, allocations: 72.05 kB / 1.338 GB, free: 6.441 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3813, allocations: 0.7005 MB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.3818, allocations: 0.8178 MB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.3819, allocations: 23.44 kB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of SimCode: time 9.72e-07/0.3819, allocations: 0 / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of Templates: time 0.008148/0.39, allocations: 4.226 MB / 1.343 GB, free: 0.6406 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 -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: 12.081252614007099]