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.001742/0.001742, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002002/0.002002, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.286/3.286, allocations: 0.49 GB / 0.7958 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002096/0.002096, allocations: 69.06 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3427, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004187/0.3469, allocations: 2.366 MB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3479, allocations: 0.4965 MB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.846e-05/0.348, allocations: 4 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.3484, allocations: 115.5 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.3486, allocations: 99.27 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.3488, allocations: 47.89 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.3491, allocations: 246.7 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002299/0.3493, allocations: 72.14 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.3494, allocations: 87.72 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.3496, allocations: 103.5 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.3496, allocations: 16 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.399e-05/0.3497, allocations: 20 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.3498, allocations: 87.58 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.3499, allocations: 119.2 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.3503, allocations: 346.4 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3503, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3503, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3503, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 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.0009455/0.3513, allocations: 0.5896 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3513, allocations: 12.03 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.072e-05/0.3514, allocations: 44.66 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.3518, allocations: 248.6 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.3518, allocations: 20.38 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.3519, allocations: 16.31 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.3522, allocations: 142.3 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3522, allocations: 4.125 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.3522, allocations: 15.94 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3522, allocations: 4 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.3525, allocations: 91.95 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.3533, allocations: 491.6 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.3536, allocations: 78.59 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3537, allocations: 44.91 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.3537, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.3537, allocations: 34.5 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.3537, allocations: 4 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.00039/0.3541, allocations: 145.4 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.3542, allocations: 55.41 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/0.3546, allocations: 393.9 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.3546, allocations: 25.7 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.3549, allocations: 220.2 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.3549, allocations: 35.72 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.3549, allocations: 25.72 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.3551, allocations: 350.7 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.3552, allocations: 28.36 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.3553, allocations: 55.42 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.3555, allocations: 95.3 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3555, allocations: 0 / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002747/0.3558, allocations: 153.3 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3558, allocations: 4 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3558, allocations: 4.094 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3558, allocations: 4 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3559, allocations: 27.92 kB / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3559, allocations: 0 / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.448e-05/0.356, allocations: 7.953 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.356, allocations: 8 kB / 1.335 GB, free: 9.18 MB / 1.029 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.0001719/0.3562, allocations: 161.7 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.3563, allocations: 35.77 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.783e-05/0.3563, allocations: 43.16 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3563, allocations: 4 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3563, allocations: 0 / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3563, allocations: 0 / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.3567, allocations: 245.1 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3567, allocations: 0 / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.3568, allocations: 19.94 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3568, allocations: 0 / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.3568, allocations: 7.969 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3568, allocations: 0 / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3568, allocations: 4 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.3572, allocations: 263.2 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.3573, allocations: 39.78 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.3573, allocations: 0 / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3575, allocations: 4 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.3575, allocations: 7.984 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3575, allocations: 0 / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003025/0.3578, allocations: 279.1 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3578, allocations: 0 / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002875/0.3581, allocations: 47.89 kB / 1.336 GB, free: 7.988 MB / 1.029 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.0001403/0.3582, allocations: 107.3 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.3585, allocations: 71.84 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3585, allocations: 0 / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.029e-05/0.3586, allocations: 31.98 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.3589, allocations: 25.58 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.3601, allocations: 0.6652 MB / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.3603, allocations: 195.5 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.109e-05/0.3604, allocations: 12.64 kB / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.3604, allocations: 19.38 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3604, allocations: 4 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of Templates: time 0.005447/0.3659, allocations: 1.587 MB / 1.338 GB, free: 5.25 MB / 1.029 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=400 -s gbode -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/jenkins1/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: 9.101673001001473]