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.001292/0.001292, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001036/0.001036, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9408/0.9408, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.874/1.874, allocations: 377.9 MB / 0.6239 GB, free: 8.434 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.784e-06/1.784e-06, allocations: 0 / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.968e-05, allocations: 3.516 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002718/0.002737, allocations: 2.48 MB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0007399/0.003477, allocations: 0.5247 MB / 0.815 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.972e-05/0.003557, allocations: 4 kB / 0.815 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.003851, allocations: 116.9 kB / 0.8151 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.003974, allocations: 103.6 kB / 0.8152 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.004075, allocations: 43.94 kB / 0.8152 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.004268, allocations: 256.3 kB / 0.8155 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.004418, allocations: 71.67 kB / 0.8155 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.004581, allocations: 135.7 kB / 0.8157 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.004684, allocations: 67.75 kB / 0.8157 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.004708, allocations: 22.06 kB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.6e-05/0.004734, allocations: 16 kB / 0.8158 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.396e-05/0.004798, allocations: 83.69 kB / 0.8158 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.924e-05/0.004858, allocations: 91.7 kB / 0.8159 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.005042, allocations: 195.1 kB / 0.8161 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.005043, allocations: 0.5 kB / 0.8161 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.62e-07/0.005044, allocations: 0 / 0.8161 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.005048, allocations: 2.594 kB / 0.8161 GB, free: 13.27 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.0005131/0.005561, allocations: 0.6894 MB / 0.8168 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.005596, allocations: 8.031 kB / 0.8168 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.00565, allocations: 60.61 kB / 0.8169 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.005832, allocations: 246.8 kB / 0.8171 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.005852, allocations: 14.06 kB / 0.8171 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.005873, allocations: 16.38 kB / 0.8171 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.006022, allocations: 114.6 kB / 0.8172 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.006032, allocations: 192 / 0.8172 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.006042, allocations: 4.875 kB / 0.8172 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.006049, allocations: 4.938 kB / 0.8172 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.952e-05/0.006109, allocations: 41.41 kB / 0.8173 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006074/0.006716, allocations: 0.4932 MB / 0.8178 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.006836, allocations: 57.67 kB / 0.8178 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.006877, allocations: 35.66 kB / 0.8178 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.006885, allocations: 0 / 0.8178 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.006911, allocations: 45.31 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.006912, allocations: 0 / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001767/0.007088, allocations: 93.45 kB / 0.818 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.007118, allocations: 60.47 kB / 0.818 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.007435, allocations: 438.5 kB / 0.8185 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.007449, allocations: 29.7 kB / 0.8185 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.007606, allocations: 279.8 kB / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.00763, allocations: 31.73 kB / 0.8188 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.007674, allocations: 36.16 kB / 0.8188 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.007838, allocations: 0.5313 MB / 0.8193 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.499e-05/0.007863, allocations: 11.67 kB / 0.8193 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.412e-05/0.007907, allocations: 54.67 kB / 0.8194 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.153e-05/0.007979, allocations: 70.55 kB / 0.8195 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007981, allocations: 0 / 0.8195 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001378/0.008119, allocations: 121.2 kB / 0.8196 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.00813, allocations: 5.781 kB / 0.8196 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.008136, allocations: 4.312 kB / 0.8196 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.008151, allocations: 0 / 0.8196 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.83e-05/0.008229, allocations: 23.98 kB / 0.8196 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.008232, allocations: 0 / 0.8196 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.008283, allocations: 12.97 kB / 0.8196 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.008289, allocations: 3.984 kB / 0.8196 GB, free: 9.457 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.496e-05/0.008374, allocations: 165.6 kB / 0.8198 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.008416, allocations: 39.7 kB / 0.8198 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.008461, allocations: 35.28 kB / 0.8199 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.008463, allocations: 1.031 kB / 0.8199 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.008465, allocations: 3.984 kB / 0.8199 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.008468, allocations: 0 / 0.8199 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.008673, allocations: 202.2 kB / 0.8201 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008675, allocations: 0 / 0.8201 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.004e-05/0.008745, allocations: 16 kB / 0.8201 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.008746, allocations: 0.7812 kB / 0.8201 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.008754, allocations: 3.938 kB / 0.8201 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.008755, allocations: 1.938 kB / 0.8201 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.008757, allocations: 4 kB / 0.8201 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.008938, allocations: 259.6 kB / 0.8203 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.008988, allocations: 39.75 kB / 0.8204 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.009007, allocations: 5.281 kB / 0.8204 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.529e-05/0.009072, allocations: 0 / 0.8204 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.009106, allocations: 11.98 kB / 0.8204 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.00911, allocations: 0 / 0.8204 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001615/0.009271, allocations: 271.8 kB / 0.8206 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009271, allocations: 0 / 0.8206 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002448/0.009516, allocations: 40.55 kB / 0.8207 GB, free: 8.336 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 8.728e-05/0.009603, allocations: 101.7 kB / 0.8208 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.884e-05/0.009692, allocations: 43.59 kB / 0.8208 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.009693, allocations: 4 kB / 0.8208 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.228e-05/0.009726, allocations: 27.61 kB / 0.8208 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.01, allocations: 35.48 kB / 0.8209 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008436/0.01084, allocations: 0.5791 MB / 0.8214 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.288e-05/0.01092, allocations: 103.3 kB / 0.8215 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.55e-05/0.01096, allocations: 16.64 kB / 0.8216 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.01104, allocations: 86.19 kB / 0.8216 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.01104, allocations: 0 / 0.8216 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of Templates: time 0.004183/0.01522, allocations: 1.159 MB / 0.8228 GB, free: 6.145 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: 4.927831940818578]