Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 186.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.424/3.424, allocations: 496 MB / 0.7835 GB, free: 33.76 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature")
translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002653, allocations: 71.06 kB / 1.138 GB, free: 33.81 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4649/0.4676, allocations: 173.6 MB / 1.307 GB, free: 1.75 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004798/0.4724, allocations: 2.488 MB / 1.31 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0009595/0.4734, allocations: 0.547 MB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 9.895e-05/0.4735, allocations: 4 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.000408/0.4739, allocations: 123.5 kB / 1.31 GB, free: 14.57 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.474, allocations: 91.27 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.4742, allocations: 43.97 kB / 1.311 GB, free: 14.44 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003197/0.4745, allocations: 242.7 kB / 1.311 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.4747, allocations: 79.59 kB / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.4749, allocations: 87.61 kB / 1.311 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.4751, allocations: 99.5 kB / 1.311 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.143e-05/0.4751, allocations: 16 kB / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 4.472e-05/0.4752, allocations: 20 kB / 1.311 GB, free: 13.9 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.4753, allocations: 83.69 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.4755, allocations: 162.9 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.000478/0.4759, allocations: 338.4 kB / 1.312 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4759, allocations: 0 / 1.312 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.996e-06/0.4759, allocations: 4 kB / 1.312 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.985e-06/0.476, allocations: 0 / 1.312 GB, free: 13.32 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 37
 * Number of variables: 37
Notification: Performance of Generate backend data structure: time 0.0009998/0.477, allocations: 0.5893 MB / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.477, allocations: 12.92 kB / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.452e-05/0.4771, allocations: 44.66 kB / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.4775, allocations: 244.7 kB / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.4775, allocations: 16.38 kB / 1.312 GB, free: 12.37 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.4776, allocations: 16.36 kB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.4779, allocations: 134.2 kB / 1.313 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.4779, allocations: 4.141 kB / 1.313 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.478, allocations: 7.938 kB / 1.313 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.478, allocations: 4 kB / 1.313 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.4782, allocations: 99.64 kB / 1.313 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009425/0.4791, allocations: 0.55 MB / 1.313 GB, free: 11.51 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.4794, allocations: 74.62 kB / 1.313 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.4795, allocations: 44.89 kB / 1.313 GB, free: 11.38 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.4796, allocations: 7.984 kB / 1.313 GB, free: 11.37 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.4796, allocations: 34.56 kB / 1.313 GB, free: 11.33 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.4796, allocations: 0 / 1.313 GB, free: 11.33 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9): time 0.0003894/0.48, allocations: 145.4 kB / 1.314 GB, free: 11.18 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.48, allocations: 59.34 kB / 1.314 GB, free: 11.11 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/0.4805, allocations: 386 kB / 1.314 GB, free: 10.72 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.4805, allocations: 29.7 kB / 1.314 GB, free: 10.69 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.4807, allocations: 220.1 kB / 1.314 GB, free: 10.47 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.4807, allocations: 31.75 kB / 1.314 GB, free: 10.44 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.4807, allocations: 33.66 kB / 1.314 GB, free: 10.4 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001825/0.4809, allocations: 354.7 kB / 1.315 GB, free: 10.04 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.481, allocations: 27.92 kB / 1.315 GB, free: 10.02 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.4811, allocations: 63.42 kB / 1.315 GB, free: 9.941 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.4813, allocations: 91.67 kB / 1.315 GB, free: 9.84 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4813, allocations: 0 / 1.315 GB, free: 9.84 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002646/0.4815, allocations: 153.3 kB / 1.315 GB, free: 9.684 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4816, allocations: 6.5 kB / 1.315 GB, free: 9.68 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.4816, allocations: 0 / 1.315 GB, free: 9.68 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.4816, allocations: 8.094 kB / 1.315 GB, free: 9.672 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.4817, allocations: 23.98 kB / 1.315 GB, free: 9.648 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.4817, allocations: 3.938 kB / 1.315 GB, free: 9.645 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.402e-05/0.4818, allocations: 4 kB / 1.315 GB, free: 9.641 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.4818, allocations: 4 kB / 1.315 GB, free: 9.637 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (13):
 * Single equations (assignments): 13
 * 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.0001715/0.482, allocations: 162.5 kB / 1.315 GB, free: 9.469 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.482, allocations: 39.75 kB / 1.315 GB, free: 9.43 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/0.4821, allocations: 39.22 kB / 1.315 GB, free: 9.391 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4821, allocations: 0 / 1.315 GB, free: 9.391 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4821, allocations: 4 kB / 1.315 GB, free: 9.387 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4821, allocations: 0 / 1.315 GB, free: 9.387 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.4825, allocations: 296.4 kB / 1.315 GB, free: 9.055 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4825, allocations: 4 kB / 1.316 GB, free: 9.051 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.4826, allocations: 19.97 kB / 1.316 GB, free: 9.031 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.4826, allocations: 7.938 kB / 1.316 GB, free: 9.023 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.4826, allocations: 0 / 1.316 GB, free: 9.023 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4826, allocations: 0 / 1.316 GB, free: 9.023 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4826, allocations: 0 / 1.316 GB, free: 9.023 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003952/0.483, allocations: 263.2 kB / 1.316 GB, free: 8.75 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.4831, allocations: 31.98 kB / 1.316 GB, free: 8.719 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.4831, allocations: 7.984 kB / 1.316 GB, free: 8.711 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/0.4832, allocations: 7.938 kB / 1.316 GB, free: 8.703 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.4832, allocations: 7.984 kB / 1.316 GB, free: 8.695 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.4833, allocations: 0 / 1.316 GB, free: 8.695 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0002978/0.4835, allocations: 275.1 kB / 1.316 GB, free: 8.43 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1e-07/0.4835, allocations: 4.062 kB / 1.316 GB, free: 8.426 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002843/0.4838, allocations: 51.81 kB / 1.316 GB, free: 8.375 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (eng.capTheEng.T)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (9):
 * Single equations (assignments): 9
 * 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 Backend phase and start with SimCode phase: time 0.0001374/0.484, allocations: 99.25 kB / 1.316 GB, free: 8.27 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002396/0.4842, allocations: 71.84 kB / 1.316 GB, free: 8.199 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4842, allocations: 3.938 kB / 1.316 GB, free: 8.195 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.4843, allocations: 31.98 kB / 1.316 GB, free: 8.164 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.4847, allocations: 29.84 kB / 1.316 GB, free: 8.137 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.486, allocations: 0.6572 MB / 1.317 GB, free: 7.453 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.4864, allocations: 0.7981 MB / 1.318 GB, free: 6.629 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 6.561e-05/0.4865, allocations: 12.64 kB / 1.318 GB, free: 6.617 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.4865, allocations: 15.44 kB / 1.318 GB, free: 6.602 MB / 1.014 GB
Notification: Performance of SimCode: time 3e-07/0.4865, allocations: 0 / 1.318 GB, free: 6.602 MB / 1.014 GB
Notification: Performance of Templates: time 0.005483/0.492, allocations: 1.354 MB / 1.319 GB, free: 5.262 MB / 1.014 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.072970997542143]