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.001383/0.001383, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001545/0.001545, allocations: 222.7 kB / 23 MB, free: 4.914 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.443/3.443, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.002121/0.002121, allocations: 65.38 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3608, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004456/0.3653, allocations: 2.357 MB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3664, allocations: 0.512 MB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.3666, allocations: 4 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000505/0.3671, allocations: 120.4 kB / 1.368 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.3673, allocations: 87.28 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.3675, allocations: 47.95 kB / 1.368 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.3678, allocations: 242.7 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.368, allocations: 67.61 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.3681, allocations: 91.66 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.3683, allocations: 91.44 kB / 1.368 GB, free: 9.984 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/0.3683, allocations: 20 kB / 1.368 GB, free: 9.965 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.784e-05/0.3684, allocations: 16 kB / 1.368 GB, free: 9.949 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.3685, allocations: 83.69 kB / 1.368 GB, free: 9.867 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.3686, allocations: 111.2 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.369, allocations: 346.4 kB / 1.369 GB, free: 9.418 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.369, allocations: 0 / 1.369 GB, free: 9.418 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/0.369, allocations: 4 kB / 1.369 GB, free: 9.414 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.369, allocations: 0 / 1.369 GB, free: 9.414 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.0008988/0.3699, allocations: 0.5895 MB / 1.369 GB, free: 8.789 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3699, allocations: 11.97 kB / 1.369 GB, free: 8.777 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.575e-05/0.37, allocations: 48.64 kB / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.3704, allocations: 240.7 kB / 1.37 GB, free: 8.473 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.3704, allocations: 12.38 kB / 1.37 GB, free: 8.461 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.3705, allocations: 20.38 kB / 1.37 GB, free: 8.441 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.3707, allocations: 141.7 kB / 1.37 GB, free: 8.297 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3708, allocations: 4.141 kB / 1.37 GB, free: 8.293 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.3708, allocations: 15.94 kB / 1.37 GB, free: 8.277 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3708, allocations: 4 kB / 1.37 GB, free: 8.273 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.371, allocations: 87.95 kB / 1.37 GB, free: 8.188 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007912/0.3718, allocations: 495.8 kB / 1.37 GB, free: 7.672 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.3721, allocations: 82.53 kB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.3722, allocations: 48.89 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.3722, allocations: 4 kB / 1.37 GB, free: 7.527 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3722, allocations: 30.56 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.3722, allocations: 0 / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0003753/0.3726, allocations: 145.4 kB / 1.371 GB, free: 7.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3726, allocations: 55.41 kB / 1.371 GB, free: 7.273 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004284/0.3731, allocations: 393.9 kB / 1.371 GB, free: 6.879 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3731, allocations: 29.7 kB / 1.371 GB, free: 6.844 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.3733, allocations: 220.2 kB / 1.371 GB, free: 6.625 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.3733, allocations: 35.69 kB / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.3733, allocations: 25.72 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3735, allocations: 350.7 kB / 1.372 GB, free: 6.207 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.716e-05/0.3736, allocations: 27.98 kB / 1.372 GB, free: 6.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3737, allocations: 55.98 kB / 1.372 GB, free: 6.113 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.3739, allocations: 95.67 kB / 1.372 GB, free: 6.008 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3739, allocations: 3.938 kB / 1.372 GB, free: 6.004 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002605/0.3741, allocations: 153.3 kB / 1.372 GB, free: 5.848 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3742, allocations: 4 kB / 1.372 GB, free: 5.844 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3742, allocations: 0 / 1.372 GB, free: 5.844 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3742, allocations: 4 kB / 1.372 GB, free: 5.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3743, allocations: 23.98 kB / 1.372 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3743, allocations: 0 / 1.372 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.08e-05/0.3744, allocations: 12.08 kB / 1.372 GB, free: 5.805 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.3744, allocations: 4 kB / 1.372 GB, free: 5.801 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.0001648/0.3746, allocations: 170.8 kB / 1.372 GB, free: 5.625 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.3746, allocations: 35.77 kB / 1.372 GB, free: 5.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/0.3747, allocations: 43.2 kB / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3747, allocations: 0 / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3747, allocations: 3.984 kB / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3747, allocations: 4 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.375, allocations: 245 kB / 1.373 GB, free: 5.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.375, allocations: 0 / 1.373 GB, free: 5.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.3751, allocations: 23.98 kB / 1.373 GB, free: 5.246 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3751, allocations: 0 / 1.373 GB, free: 5.246 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3751, allocations: 0 / 1.373 GB, free: 5.246 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3751, allocations: 0 / 1.373 GB, free: 5.246 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3751, allocations: 0 / 1.373 GB, free: 5.246 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.3755, allocations: 259.2 kB / 1.373 GB, free: 4.977 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.3756, allocations: 35.8 kB / 1.373 GB, free: 4.941 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.3756, allocations: 192 / 1.373 GB, free: 4.941 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.651e-05/0.3757, allocations: 4 kB / 1.373 GB, free: 4.938 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.3757, allocations: 15.98 kB / 1.373 GB, free: 4.922 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.3758, allocations: 8 kB / 1.373 GB, free: 4.914 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002856/0.376, allocations: 279.1 kB / 1.373 GB, free: 4.641 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.376, allocations: 0 / 1.373 GB, free: 4.641 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002774/0.3763, allocations: 47.89 kB / 1.373 GB, free: 4.594 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.0001213/0.3764, allocations: 99.23 kB / 1.373 GB, free: 4.488 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.3767, allocations: 63.92 kB / 1.373 GB, free: 4.426 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3767, allocations: 4 kB / 1.373 GB, free: 4.422 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.3767, allocations: 36.11 kB / 1.373 GB, free: 4.387 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.3771, allocations: 29.58 kB / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3783, allocations: 0.694 MB / 1.374 GB, free: 3.633 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.3785, allocations: 198.8 kB / 1.374 GB, free: 3.418 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.3786, allocations: 15.44 kB / 1.374 GB, free: 3.402 MB / 1.061 GB Notification: Performance of SimCode: time 6.21e-07/0.3786, allocations: 0 / 1.374 GB, free: 3.402 MB / 1.061 GB Notification: Performance of Templates: time 0.005412/0.384, allocations: 3.167 MB / 1.377 GB, free: 248 kB / 1.061 GB " [Timeout remaining time 300] 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/jenkins1/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: 11.862669744994491]