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.000988/0.000988, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001816/0.001816, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9563/0.9563, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.824/1.824, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] 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.393e-06/1.393e-06, allocations: 0 / 0.8116 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.651e-05, allocations: 9.062 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002802/0.002829, allocations: 2.512 MB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0008045/0.003633, allocations: 0.5291 MB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.989e-05/0.003723, allocations: 4 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.00407, allocations: 120.1 kB / 0.8147 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.004214, allocations: 105 kB / 0.8148 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.004335, allocations: 43.94 kB / 0.8148 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.004547, allocations: 254.5 kB / 0.815 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.004709, allocations: 68.3 kB / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.00488, allocations: 136.4 kB / 0.8152 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.004997, allocations: 71.73 kB / 0.8153 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.005031, allocations: 20.69 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.809e-05/0.005059, allocations: 16 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.597e-05/0.005135, allocations: 80.61 kB / 0.8154 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.966e-05/0.005205, allocations: 87.7 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.005416, allocations: 204.4 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005419, allocations: 0 / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.032e-06/0.00542, allocations: 0 / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.005425, allocations: 0 / 0.8157 GB, free: 13.5 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.000626/0.006051, allocations: 0.6796 MB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.006096, allocations: 12.03 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.006176, allocations: 56.61 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.006407, allocations: 248 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.006433, allocations: 12.38 kB / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.006462, allocations: 12.38 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.006681, allocations: 127.4 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.006695, allocations: 192 / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.006712, allocations: 10.59 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.006723, allocations: 8.359 kB / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.006826, allocations: 47.89 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/0.007483, allocations: 0.5682 MB / 0.8174 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.00764, allocations: 58.98 kB / 0.8175 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.007686, allocations: 35.77 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.007695, allocations: 0 / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.007719, allocations: 41.39 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.00772, allocations: 0 / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.000188/0.007908, allocations: 109.4 kB / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.007941, allocations: 52.72 kB / 0.8177 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.008218, allocations: 450.7 kB / 0.8181 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.00823, allocations: 25.7 kB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.008361, allocations: 279.6 kB / 0.8184 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.008382, allocations: 31.73 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.00842, allocations: 31.89 kB / 0.8185 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.008555, allocations: 0.536 MB / 0.819 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.008583, allocations: 8 kB / 0.819 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.351e-05/0.008626, allocations: 51.89 kB / 0.8191 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.114e-05/0.008697, allocations: 75.7 kB / 0.8191 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.0087, allocations: 3.938 kB / 0.8191 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001237/0.008824, allocations: 122.7 kB / 0.8193 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.008837, allocations: 4 kB / 0.8193 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.008842, allocations: 1.188 kB / 0.8193 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.008857, allocations: 4 kB / 0.8193 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.403e-05/0.008931, allocations: 27.86 kB / 0.8193 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.008937, allocations: 5.031 kB / 0.8193 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.03e-05/0.008977, allocations: 3.938 kB / 0.8193 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.008986, allocations: 8 kB / 0.8193 GB, free: 9.57 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 (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 8.445e-05/0.00907, allocations: 165.6 kB / 0.8195 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.009105, allocations: 39.75 kB / 0.8195 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.009148, allocations: 36.41 kB / 0.8195 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.00915, allocations: 0 / 0.8195 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.009154, allocations: 0 / 0.8195 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.009157, allocations: 0.9688 kB / 0.8195 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.009366, allocations: 268.5 kB / 0.8198 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.009369, allocations: 3.938 kB / 0.8198 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.589e-05/0.009445, allocations: 20.58 kB / 0.8198 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.009448, allocations: 0.5938 kB / 0.8198 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.009461, allocations: 12 kB / 0.8198 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.009463, allocations: 1.219 kB / 0.8198 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.009464, allocations: 0 / 0.8198 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.009675, allocations: 255.7 kB / 0.8201 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.00972, allocations: 41.45 kB / 0.8201 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.00974, allocations: 3.984 kB / 0.8201 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.677e-05/0.009787, allocations: 0 / 0.8201 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.009826, allocations: 4 kB / 0.8201 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.009832, allocations: 9.125 kB / 0.8201 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001689/0.01, allocations: 283.1 kB / 0.8204 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01, allocations: 0 / 0.8204 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001794/0.01018, allocations: 39.89 kB / 0.8204 GB, free: 8.355 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 (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.163e-05/0.01027, allocations: 106.4 kB / 0.8205 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.01039, allocations: 55.58 kB / 0.8206 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01039, allocations: 0 / 0.8206 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.068e-05/0.01042, allocations: 27.67 kB / 0.8206 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.01065, allocations: 26.69 kB / 0.8207 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008649/0.01152, allocations: 0.5748 MB / 0.8212 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.359e-05/0.01158, allocations: 103.3 kB / 0.8213 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.413e-05/0.01163, allocations: 16.64 kB / 0.8213 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.01166, allocations: 12.5 kB / 0.8213 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of SimCode: time 1.163e-06/0.01166, allocations: 3.938 kB / 0.8213 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of Templates: time 0.004042/0.0157, allocations: 1.135 MB / 0.8225 GB, free: 6.262 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.010982756968588]