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.001317/0.001317, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001067/0.001067, allocations: 169 kB / 24.28 MB, free: 276 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.9782/0.9782, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.939/1.939, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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.963e-06/1.963e-06, allocations: 0 / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.655e-05, allocations: 6.047 kB / 0.8116 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002901/0.002927, allocations: 2.5 MB / 0.814 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0007212/0.003649, allocations: 0.5363 MB / 0.8145 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.285e-05/0.003731, allocations: 5.531 kB / 0.8145 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.004047, allocations: 115 kB / 0.8146 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.004164, allocations: 100.3 kB / 0.8147 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/0.004272, allocations: 45.55 kB / 0.8148 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.004475, allocations: 250.5 kB / 0.815 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.004644, allocations: 75.66 kB / 0.8151 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.004798, allocations: 131.7 kB / 0.8152 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.004924, allocations: 68.42 kB / 0.8153 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.004957, allocations: 20 kB / 0.8153 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-05/0.004983, allocations: 20.72 kB / 0.8153 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.726e-05/0.00507, allocations: 87.62 kB / 0.8154 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.005144, allocations: 84.38 kB / 0.8155 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.005375, allocations: 219.5 kB / 0.8157 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.005378, allocations: 0 / 0.8157 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00538, allocations: 0.75 kB / 0.8157 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.005385, allocations: 0 / 0.8157 GB, free: 13.84 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.0006116/0.005996, allocations: 0.6909 MB / 0.8164 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.006032, allocations: 8.844 kB / 0.8164 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.961e-05/0.006102, allocations: 60.61 kB / 0.8164 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.006348, allocations: 243.7 kB / 0.8167 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.006372, allocations: 16.38 kB / 0.8167 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.006399, allocations: 13.59 kB / 0.8167 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.006588, allocations: 124.2 kB / 0.8168 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.006598, allocations: 4.172 kB / 0.8168 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.006613, allocations: 9.312 kB / 0.8168 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.006621, allocations: 4.375 kB / 0.8168 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.006737, allocations: 56.2 kB / 0.8169 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006168/0.007354, allocations: 0.5674 MB / 0.8174 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.007538, allocations: 70.17 kB / 0.8175 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.00759, allocations: 31.78 kB / 0.8175 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.007599, allocations: 3.938 kB / 0.8175 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.007621, allocations: 41.33 kB / 0.8176 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.007623, allocations: 0 / 0.8176 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002199/0.007843, allocations: 121.3 kB / 0.8177 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.007873, allocations: 55.41 kB / 0.8177 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.008342, allocations: 446.7 kB / 0.8182 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.008354, allocations: 26.86 kB / 0.8182 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.008486, allocations: 275 kB / 0.8185 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.008509, allocations: 35.69 kB / 0.8185 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.008547, allocations: 31.94 kB / 0.8185 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.008689, allocations: 0.5352 MB / 0.819 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.008723, allocations: 12.48 kB / 0.8191 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.254e-05/0.008776, allocations: 51.3 kB / 0.8191 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.197e-05/0.008858, allocations: 72.97 kB / 0.8192 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.00886, allocations: 0 / 0.8192 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000139/0.008999, allocations: 133.9 kB / 0.8193 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.009013, allocations: 4.875 kB / 0.8193 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.009018, allocations: 0 / 0.8193 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.009031, allocations: 4 kB / 0.8193 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.966e-05/0.009111, allocations: 29.05 kB / 0.8193 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.009117, allocations: 3.984 kB / 0.8193 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.009157, allocations: 11.95 kB / 0.8194 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.009164, allocations: 5.031 kB / 0.8194 GB, free: 9.867 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 8.752e-05/0.009252, allocations: 164.5 kB / 0.8195 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.009285, allocations: 40.77 kB / 0.8196 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.00933, allocations: 35.27 kB / 0.8196 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.009332, allocations: 5.094 kB / 0.8196 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.009337, allocations: 0 / 0.8196 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.00934, allocations: 0 / 0.8196 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.009561, allocations: 273.5 kB / 0.8199 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.009563, allocations: 0 / 0.8199 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.169e-05/0.009645, allocations: 27.86 kB / 0.8199 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.009647, allocations: 0.5938 kB / 0.8199 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.009657, allocations: 0 / 0.8199 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.009658, allocations: 3.281 kB / 0.8199 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.00966, allocations: 0 / 0.8199 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.009872, allocations: 275.6 kB / 0.8201 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.009916, allocations: 39.69 kB / 0.8202 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.009936, allocations: 4 kB / 0.8202 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.667e-05/0.009982, allocations: 0 / 0.8202 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.01002, allocations: 15.97 kB / 0.8202 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.01003, allocations: 0 / 0.8202 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001589/0.01018, allocations: 280 kB / 0.8205 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01018, allocations: 0 / 0.8205 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001813/0.01037, allocations: 43.89 kB / 0.8205 GB, free: 8.629 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 9.527e-05/0.01046, allocations: 101.2 kB / 0.8206 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.0106, allocations: 55.55 kB / 0.8207 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.0106, allocations: 1.625 kB / 0.8207 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.853e-05/0.01064, allocations: 32.42 kB / 0.8207 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.01089, allocations: 32.31 kB / 0.8207 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009406/0.01183, allocations: 0.5901 MB / 0.8213 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.337e-05/0.01189, allocations: 103.8 kB / 0.8214 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.62e-05/0.01194, allocations: 16.64 kB / 0.8214 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.01197, allocations: 12.5 kB / 0.8214 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of SimCode: time 1.012e-06/0.01197, allocations: 0 / 0.8214 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of Templates: time 0.003974/0.01594, allocations: 1.12 MB / 0.8225 GB, free: 6.535 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.297900140052661]