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.001329/0.001329, 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.001481/0.001481, allocations: 220.8 kB / 23.01 MB, free: 4.605 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.211/3.211, allocations: 0.505 GB / 0.8108 GB, free: 22.01 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.002024/0.002024, allocations: 65.83 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3881, allocations: 180.2 MB / 1.354 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004035/0.3921, allocations: 2.231 MB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002533/0.3947, allocations: 1.556 MB / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.3948, allocations: 0 / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006165/0.3954, allocations: 191 kB / 1.358 GB, free: 3.941 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004251/0.3959, allocations: 163.2 kB / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.3962, allocations: 111.6 kB / 1.358 GB, free: 3.672 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.3965, allocations: 251.1 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.3966, allocations: 32.52 kB / 1.359 GB, free: 3.395 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.3968, allocations: 107.5 kB / 1.359 GB, free: 3.289 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.397, allocations: 99.55 kB / 1.359 GB, free: 3.191 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.397, allocations: 12 kB / 1.359 GB, free: 3.18 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.3972, allocations: 59.91 kB / 1.359 GB, free: 3.121 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3973, allocations: 99.59 kB / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.3975, allocations: 134.9 kB / 1.359 GB, free: 2.891 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.3979, allocations: 370.2 kB / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3979, allocations: 0 / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3979, allocations: 4 kB / 1.359 GB, free: 2.523 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3979, allocations: 0 / 1.359 GB, free: 2.523 MB / 1.045 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.001035/0.399, allocations: 0.6203 MB / 1.36 GB, free: 1.871 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.399, allocations: 8.031 kB / 1.36 GB, free: 1.863 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.137e-05/0.3991, allocations: 52.61 kB / 1.36 GB, free: 1.812 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.3996, allocations: 302.8 kB / 1.36 GB, free: 1.488 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.3996, allocations: 4.375 kB / 1.36 GB, free: 1.484 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.3996, allocations: 11.94 kB / 1.36 GB, free: 1.473 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.3998, allocations: 77.59 kB / 1.36 GB, free: 1.391 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3998, allocations: 0 / 1.36 GB, free: 1.391 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.3998, allocations: 8 kB / 1.36 GB, free: 1.383 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3998, allocations: 0 / 1.36 GB, free: 1.383 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.3999, allocations: 31.98 kB / 1.36 GB, free: 1.352 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007246/0.4007, allocations: 435.6 kB / 1.361 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.4008, allocations: 66.67 kB / 1.361 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.385e-05/0.4009, allocations: 24.86 kB / 1.361 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.4009, allocations: 0 / 1.361 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.4011, allocations: 71.38 kB / 1.361 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.4011, allocations: 0 / 1.361 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0003567/0.4015, allocations: 161.3 kB / 1.361 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.4016, allocations: 55.34 kB / 1.361 GB, free: 480 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006305/0.4022, allocations: 0.5456 MB / 1.362 GB, free: 15.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.4022, allocations: 25.7 kB / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.4024, allocations: 220.1 kB / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.4024, allocations: 23.83 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.856e-05/0.4025, allocations: 45.7 kB / 1.362 GB, free: 15.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.4027, allocations: 354.8 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.4028, allocations: 55.88 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.4029, allocations: 74.55 kB / 1.363 GB, free: 15.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.4031, allocations: 95.69 kB / 1.363 GB, free: 15 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4031, allocations: 0 / 1.363 GB, free: 15 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003279/0.4034, allocations: 197.3 kB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4035, allocations: 8.062 kB / 1.363 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4035, allocations: 3.984 kB / 1.363 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4035, allocations: 4 kB / 1.363 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.4036, allocations: 23.92 kB / 1.363 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.4036, allocations: 4 kB / 1.363 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.4037, allocations: 19.88 kB / 1.363 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.4037, allocations: 4 kB / 1.363 GB, free: 14.73 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.0001986/0.4039, allocations: 182.4 kB / 1.363 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.404, allocations: 47.72 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.4043, allocations: 129.6 kB / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4043, allocations: 3.938 kB / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4043, allocations: 0 / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4043, allocations: 0 / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.4046, allocations: 276.5 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4046, allocations: 0 / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.4046, allocations: 11.92 kB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4046, allocations: 3.938 kB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.4046, allocations: 8 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4046, allocations: 7.938 kB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4046, allocations: 0 / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.4049, allocations: 145.1 kB / 1.364 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.4049, allocations: 43.7 kB / 1.364 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.405, allocations: 4.062 kB / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/0.4051, allocations: 7.938 kB / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.4051, allocations: 11.98 kB / 1.364 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.4051, allocations: 11.98 kB / 1.364 GB, free: 13.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004115/0.4055, allocations: 366.8 kB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4055, allocations: 0 / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002673/0.4058, allocations: 47.88 kB / 1.364 GB, free: 13.37 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 (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.001637/0.4074, allocations: 426.5 kB / 1.365 GB, free: 13.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002591/0.4077, allocations: 86.5 kB / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4077, allocations: 4.062 kB / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.795e-05/0.4078, allocations: 31.91 kB / 1.365 GB, free: 12.99 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.4082, allocations: 59.2 kB / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.4093, allocations: 0.7044 MB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.4098, allocations: 0.8112 MB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.4098, allocations: 27.42 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4098, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of Templates: time 0.007092/0.4169, allocations: 4.219 MB / 1.37 GB, free: 7.125 MB / 1.061 GB " [Timeout remaining time 300] 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/jenkins1/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: 11.996869319002144]