Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.002267/0.002267, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.003221/0.003221, allocations: 216.6 kB / 22.25 MB, free: 5.246 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.64/1.64, allocations: 230.6 MB / 256 MB, free: 7.797 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.821/3.821, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [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.002162/0.002162, allocations: 67.11 kB / 1.186 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5412/0.5433, allocations: 181.9 MB / 1.364 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.00468/0.548, allocations: 2.368 MB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.5491, allocations: 0.5081 MB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.5492, allocations: 4 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.5497, allocations: 116.4 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.5499, allocations: 99.27 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.55, allocations: 35.97 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.5503, allocations: 242.7 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.5506, allocations: 75.59 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.5507, allocations: 83.67 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.5509, allocations: 91.44 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.5509, allocations: 16 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.192e-05/0.551, allocations: 20 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.5512, allocations: 87.67 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.5513, allocations: 119.2 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.5518, allocations: 346.4 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.5518, allocations: 4 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.735e-06/0.5518, allocations: 0 / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.158e-06/0.5518, allocations: 0 / 1.368 GB, free: 9.465 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001108/0.5529, allocations: 0.5779 MB / 1.369 GB, free: 8.852 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.5529, allocations: 16.03 kB / 1.369 GB, free: 8.836 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.999e-05/0.553, allocations: 44.66 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.5535, allocations: 248.6 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.5535, allocations: 12.38 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.5535, allocations: 12.38 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.5539, allocations: 145.7 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.5539, allocations: 4.141 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.5539, allocations: 7.938 kB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.5539, allocations: 4 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.5542, allocations: 91.95 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.5551, allocations: 487.9 kB / 1.37 GB, free: 7.742 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.5553, allocations: 90.48 kB / 1.37 GB, free: 7.645 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.5554, allocations: 40.89 kB / 1.37 GB, free: 7.602 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.5555, allocations: 4 kB / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.5555, allocations: 34.5 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.5555, allocations: 0 / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.000408/0.5559, allocations: 153.4 kB / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.556, allocations: 55.41 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004821/0.5564, allocations: 393.9 kB / 1.37 GB, free: 6.938 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.5565, allocations: 25.7 kB / 1.37 GB, free: 6.906 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.5568, allocations: 216.2 kB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.5568, allocations: 39.67 kB / 1.371 GB, free: 6.652 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.5568, allocations: 21.72 kB / 1.371 GB, free: 6.625 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002527/0.5571, allocations: 354.7 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.535e-05/0.5572, allocations: 27.98 kB / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.5573, allocations: 59.36 kB / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.5575, allocations: 91.36 kB / 1.371 GB, free: 6.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5575, allocations: 0 / 1.371 GB, free: 6.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003711/0.5578, allocations: 141.8 kB / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.5579, allocations: 11.98 kB / 1.371 GB, free: 5.914 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5579, allocations: 4.188 kB / 1.371 GB, free: 5.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.5579, allocations: 11.86 kB / 1.371 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.558, allocations: 20 kB / 1.371 GB, free: 5.879 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.558, allocations: 7.984 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.688e-05/0.5581, allocations: 8 kB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.5581, allocations: 4 kB / 1.371 GB, free: 5.859 MB / 1.061 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.000216/0.5583, allocations: 169.7 kB / 1.371 GB, free: 5.684 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.5584, allocations: 35.77 kB / 1.371 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.523e-05/0.5585, allocations: 43.2 kB / 1.372 GB, free: 5.605 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5585, allocations: 0 / 1.372 GB, free: 5.605 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5585, allocations: 4 kB / 1.372 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5585, allocations: 0 / 1.372 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.5588, allocations: 241 kB / 1.372 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5588, allocations: 0 / 1.372 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.5589, allocations: 19.98 kB / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.5589, allocations: 4 kB / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.559, allocations: 0 / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.559, allocations: 0 / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.559, allocations: 0 / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.5594, allocations: 263.2 kB / 1.372 GB, free: 5.039 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.5594, allocations: 35.73 kB / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.5595, allocations: 11.98 kB / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.5596, allocations: 0 / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.5596, allocations: 7.984 kB / 1.372 GB, free: 4.984 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.5596, allocations: 0 / 1.372 GB, free: 4.984 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003222/0.5599, allocations: 279.1 kB / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5599, allocations: 0 / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000275/0.5602, allocations: 43.89 kB / 1.372 GB, free: 4.668 MB / 1.061 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.0001378/0.5603, allocations: 103.2 kB / 1.372 GB, free: 4.559 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.5606, allocations: 76 kB / 1.373 GB, free: 4.484 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.5606, allocations: 0 / 1.373 GB, free: 4.484 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.5606, allocations: 35.92 kB / 1.373 GB, free: 4.449 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.5611, allocations: 27.62 kB / 1.373 GB, free: 4.426 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.5623, allocations: 0.6653 MB / 1.373 GB, free: 3.734 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.5625, allocations: 192 kB / 1.373 GB, free: 3.527 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.168e-05/0.5626, allocations: 16.64 kB / 1.373 GB, free: 3.512 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.5626, allocations: 11.44 kB / 1.373 GB, free: 3.5 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.5626, allocations: 4 kB / 1.373 GB, free: 3.496 MB / 1.061 GB Notification: Performance of Templates: time 0.005844/0.5685, allocations: 1.542 MB / 1.375 GB, free: 1.984 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.718902649357915]