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.001362/0.001362, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 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.001621/0.001621, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 18.57 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.946/0.946, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.903/1.903, allocations: 377.8 MB / 0.6236 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.202e-06/1.202e-06, allocations: 0 / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.656e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002611/0.002628, allocations: 2.515 MB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0007274/0.003355, allocations: 0.5329 MB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.51e-05/0.00345, allocations: 4 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.003781, allocations: 119.6 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.003898, allocations: 100.8 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.004003, allocations: 43.94 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.004198, allocations: 251.5 kB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.004358, allocations: 71.67 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.004502, allocations: 136.5 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.004626, allocations: 71.8 kB / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.004654, allocations: 17.28 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.946e-05/0.004683, allocations: 20 kB / 0.8153 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.528e-05/0.004759, allocations: 87.62 kB / 0.8154 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.004826, allocations: 84.56 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.00505, allocations: 219 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.005052, allocations: 1.219 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.72e-07/0.005053, allocations: 0 / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.005058, allocations: 0 / 0.8157 GB, free: 13.49 MB / 0.7761 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.0006361/0.005694, allocations: 0.687 MB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.005731, allocations: 8.031 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.005794, allocations: 62.36 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.006022, allocations: 250.7 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.006042, allocations: 12.38 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.006074, allocations: 12.38 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.006251, allocations: 125.2 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.006263, allocations: 4.172 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.006276, allocations: 8.375 kB / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.006289, allocations: 4.375 kB / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.00639, allocations: 51.84 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.006961, allocations: 0.5623 MB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.00712, allocations: 72.95 kB / 0.8175 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/0.007166, allocations: 31.73 kB / 0.8175 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.007175, allocations: 0 / 0.8175 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.007198, allocations: 49.27 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.007199, allocations: 0.9062 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0001947/0.007393, allocations: 113.3 kB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.007419, allocations: 56.06 kB / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.007681, allocations: 447.3 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.007692, allocations: 25.7 kB / 0.8182 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.007822, allocations: 286 kB / 0.8185 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.007845, allocations: 39.67 kB / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.007882, allocations: 31.38 kB / 0.8185 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.008012, allocations: 0.5313 MB / 0.8191 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.008038, allocations: 8 kB / 0.8191 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.417e-05/0.008082, allocations: 50.73 kB / 0.8191 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.228e-05/0.008154, allocations: 77.17 kB / 0.8192 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.008156, allocations: 0 / 0.8192 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001261/0.008282, allocations: 129.3 kB / 0.8193 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.008294, allocations: 4 kB / 0.8193 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.0083, allocations: 8.922 kB / 0.8193 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.008315, allocations: 0 / 0.8193 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.041e-05/0.008385, allocations: 25.06 kB / 0.8193 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.008391, allocations: 3.984 kB / 0.8193 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.008432, allocations: 15.94 kB / 0.8194 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.008438, allocations: 5.125 kB / 0.8194 GB, free: 9.512 MB / 0.7761 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 7.61e-05/0.008515, allocations: 164.5 kB / 0.8195 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.008548, allocations: 39.7 kB / 0.8196 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.417e-05/0.008592, allocations: 36.31 kB / 0.8196 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.008594, allocations: 4 kB / 0.8196 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.008598, allocations: 1.062 kB / 0.8196 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.008602, allocations: 3.984 kB / 0.8196 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.008796, allocations: 264.5 kB / 0.8199 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.008797, allocations: 4.562 kB / 0.8199 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.228e-05/0.00886, allocations: 19.94 kB / 0.8199 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.008861, allocations: 1.656 kB / 0.8199 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.008871, allocations: 3.984 kB / 0.8199 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.008872, allocations: 0 / 0.8199 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.008872, allocations: 0 / 0.8199 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.009051, allocations: 272.1 kB / 0.8201 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.009091, allocations: 45.05 kB / 0.8202 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.009107, allocations: 0 / 0.8202 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.446e-05/0.009151, allocations: 0 / 0.8202 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.00919, allocations: 15.97 kB / 0.8202 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.009193, allocations: 0.7812 kB / 0.8202 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001478/0.009341, allocations: 283.1 kB / 0.8205 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009341, allocations: 1.344 kB / 0.8205 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001701/0.009511, allocations: 43.89 kB / 0.8205 GB, free: 8.277 MB / 0.7761 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 6.674e-05/0.009578, allocations: 100.9 kB / 0.8206 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.009684, allocations: 55.59 kB / 0.8207 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-06/0.009685, allocations: 0 / 0.8207 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.288e-05/0.009718, allocations: 38.86 kB / 0.8207 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.009934, allocations: 25.78 kB / 0.8207 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008285/0.01076, allocations: 0.5929 MB / 0.8213 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.243e-05/0.01082, allocations: 103.8 kB / 0.8214 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.025e-05/0.01086, allocations: 16.64 kB / 0.8214 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.0109, allocations: 12.5 kB / 0.8214 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.0109, allocations: 0 / 0.8214 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of Templates: time 0.003667/0.01456, allocations: 1.12 MB / 0.8225 GB, free: 6.188 MB / 0.7761 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.226721432991326]