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.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.001153/0.001153, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001901/0.003054, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001166/0.001166, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001589/0.002756, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.976/0.976, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09485/1.071, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.87/1.87, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5474/2.418, allocations: 123.3 MB / 0.7283 GB, free: 5.754 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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 1.853e-06/1.853e-06, allocations: 0 / 0.7297 GB, free: 4.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.75e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.414 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003043/0.00306, allocations: 2.554 MB / 0.7322 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008045/0.003865, allocations: 0.5527 MB / 0.7327 GB, free: 1.348 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.28e-05/0.003957, allocations: 0 / 0.7327 GB, free: 1.348 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.004236, allocations: 116.9 kB / 0.7328 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.00437, allocations: 104.4 kB / 0.7329 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.239e-05/0.004462, allocations: 44.45 kB / 0.733 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.00466, allocations: 256.2 kB / 0.7332 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.004811, allocations: 78.28 kB / 0.7333 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.005021, allocations: 181.3 kB / 0.7334 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.005142, allocations: 64.69 kB / 0.7335 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.005175, allocations: 16 kB / 0.7335 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.735e-05/0.005202, allocations: 20 kB / 0.7335 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.005267, allocations: 76.69 kB / 0.7336 GB, free: 432 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.005326, allocations: 75.75 kB / 0.7337 GB, free: 356 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.005534, allocations: 196.9 kB / 0.7339 GB, free: 160 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.005547, allocations: 0 / 0.7339 GB, free: 160 kB / 0.698 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005548, allocations: 0 / 0.7339 GB, free: 160 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.00556, allocations: 4 kB / 0.7339 GB, free: 156 kB / 0.698 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.0006282/0.006188, allocations: 0.6046 MB / 0.7345 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.006222, allocations: 8.031 kB / 0.7345 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.006277, allocations: 45.55 kB / 0.7345 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.006486, allocations: 224 kB / 0.7347 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.006507, allocations: 17.48 kB / 0.7347 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.006533, allocations: 16.38 kB / 0.7348 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.006695, allocations: 110.6 kB / 0.7349 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.006704, allocations: 0.7812 kB / 0.7349 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.00672, allocations: 9.406 kB / 0.7349 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.006728, allocations: 4.375 kB / 0.7349 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.471e-05/0.006792, allocations: 33.17 kB / 0.7349 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.007226, allocations: 341.7 kB / 0.7352 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.007346, allocations: 38.56 kB / 0.7353 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.007376, allocations: 30.06 kB / 0.7353 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.007386, allocations: 3.938 kB / 0.7353 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.007409, allocations: 34.55 kB / 0.7353 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.00741, allocations: 1.156 kB / 0.7353 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001344/0.007545, allocations: 73.61 kB / 0.7354 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.007573, allocations: 60.31 kB / 0.7355 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.007768, allocations: 331.3 kB / 0.7358 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.00778, allocations: 29.64 kB / 0.7358 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.007853, allocations: 169.7 kB / 0.736 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.007874, allocations: 28.48 kB / 0.736 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.007906, allocations: 25.7 kB / 0.736 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.701e-05/0.008003, allocations: 355.5 kB / 0.7364 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.008022, allocations: 8 kB / 0.7364 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.492e-05/0.008057, allocations: 40.23 kB / 0.7364 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.799e-05/0.008115, allocations: 52.72 kB / 0.7365 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.008119, allocations: 4 kB / 0.7365 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001044/0.008223, allocations: 94.66 kB / 0.7366 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.008239, allocations: 9.188 kB / 0.7366 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.008246, allocations: 3.984 kB / 0.7366 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.008256, allocations: 0 / 0.7366 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.008385, allocations: 33.17 kB / 0.7366 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.008389, allocations: 4 kB / 0.7366 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.383e-05/0.008423, allocations: 3.953 kB / 0.7366 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.008428, allocations: 4.688 kB / 0.7366 GB, free: 13.18 MB / 0.7136 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 (12): * Single equations (assignments): 12 * 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 7.391e-05/0.008502, allocations: 119.4 kB / 0.7367 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.008527, allocations: 23.91 kB / 0.7368 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.008569, allocations: 35.28 kB / 0.7368 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008571, allocations: 0 / 0.7368 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.008573, allocations: 0 / 0.7368 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.008576, allocations: 0 / 0.7368 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.008727, allocations: 149.7 kB / 0.7369 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.008729, allocations: 0 / 0.7369 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.959e-05/0.008819, allocations: 30.89 kB / 0.737 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.008857, allocations: 39.67 kB / 0.737 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.008859, allocations: 0 / 0.737 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.008867, allocations: 8 kB / 0.737 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.008869, allocations: 3.938 kB / 0.737 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.00887, allocations: 0 / 0.737 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.009017, allocations: 171.5 kB / 0.7372 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.009033, allocations: 8.594 kB / 0.7372 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.594e-05/0.009079, allocations: 3.984 kB / 0.7372 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.009106, allocations: 5.906 kB / 0.7372 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.009109, allocations: 0 / 0.7372 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003829/0.009492, allocations: 140.7 kB / 0.7373 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009492, allocations: 0 / 0.7373 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001603/0.009652, allocations: 51.84 kB / 0.7374 GB, free: 12.37 MB / 0.7136 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 (8): * Single equations (assignments): 8 * 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 9.141e-05/0.009743, allocations: 82.8 kB / 0.7375 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.196e-05/0.009825, allocations: 32.84 kB / 0.7375 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.009837, allocations: 15.98 kB / 0.7375 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.315e-05/0.009871, allocations: 35.12 kB / 0.7375 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.01012, allocations: 212.4 kB / 0.7377 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.0121, allocations: 0.5879 MB / 0.7383 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.917e-05/0.01216, allocations: 107.3 kB / 0.7384 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.285e-05/0.0122, allocations: 11.97 kB / 0.7384 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.01227, allocations: 71.36 kB / 0.7385 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of SimCode: time 7.82e-07/0.01227, allocations: 0 / 0.7385 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.003908/0.01618, allocations: 1.2 MB / 0.7397 GB, free: 10.04 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.933524135500193]