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.0009851/0.0009851, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0011/0.0011, allocations: 166.1 kB / 24.87 MB, free: 9.258 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.9712/0.9712, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.906/1.906, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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.614e-06/1.614e-06, allocations: 0 / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.403e-05, allocations: 3.078 kB / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002806/0.00283, allocations: 2.485 MB / 0.8152 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0006357/0.003465, allocations: 0.5215 MB / 0.8157 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.748e-05/0.003543, allocations: 4 kB / 0.8157 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.003834, allocations: 119.8 kB / 0.8159 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.00395, allocations: 104.6 kB / 0.816 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 9.372e-05/0.004044, allocations: 39.95 kB / 0.816 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.004225, allocations: 263.5 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.004367, allocations: 67.67 kB / 0.8163 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.004505, allocations: 140.4 kB / 0.8164 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.00461, allocations: 67.75 kB / 0.8165 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.004637, allocations: 20.62 kB / 0.8165 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.303e-05/0.00466, allocations: 17.31 kB / 0.8165 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.004726, allocations: 75.7 kB / 0.8166 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.004794, allocations: 87.7 kB / 0.8167 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.004984, allocations: 203.1 kB / 0.8169 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004986, allocations: 1.75 kB / 0.8169 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004987, allocations: 0 / 0.8169 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.004991, allocations: 0 / 0.8169 GB, free: 13.25 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.0007736/0.005765, allocations: 0.6868 MB / 0.8176 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.005796, allocations: 12.03 kB / 0.8176 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.00585, allocations: 56.61 kB / 0.8176 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.006031, allocations: 247.7 kB / 0.8179 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.006049, allocations: 12.38 kB / 0.8179 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.006076, allocations: 16.31 kB / 0.8179 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.006221, allocations: 117 kB / 0.818 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.006232, allocations: 4.188 kB / 0.818 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.006243, allocations: 4.375 kB / 0.818 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.006248, allocations: 4.375 kB / 0.818 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.519e-05/0.006313, allocations: 41.47 kB / 0.8181 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.00677, allocations: 498.8 kB / 0.8185 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.006882, allocations: 70.98 kB / 0.8186 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.006912, allocations: 23.62 kB / 0.8186 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.00692, allocations: 4 kB / 0.8186 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.006939, allocations: 37.38 kB / 0.8187 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.006941, allocations: 0 / 0.8187 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001476/0.007088, allocations: 106.6 kB / 0.8188 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.007114, allocations: 55.34 kB / 0.8188 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.007338, allocations: 443 kB / 0.8192 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.007349, allocations: 30.27 kB / 0.8193 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.007471, allocations: 274.9 kB / 0.8195 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.007489, allocations: 28.31 kB / 0.8196 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.007523, allocations: 40.52 kB / 0.8196 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.007654, allocations: 0.5313 MB / 0.8201 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/0.007672, allocations: 11.98 kB / 0.8201 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.371e-05/0.007706, allocations: 47.44 kB / 0.8202 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.533e-05/0.007761, allocations: 72.3 kB / 0.8202 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.007763, allocations: 0 / 0.8202 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001091/0.007872, allocations: 126.5 kB / 0.8204 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.007884, allocations: 8 kB / 0.8204 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.007888, allocations: 1.234 kB / 0.8204 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.007896, allocations: 0 / 0.8204 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.007959, allocations: 23.98 kB / 0.8204 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.007965, allocations: 11.89 kB / 0.8204 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.559e-05/0.008001, allocations: 7.938 kB / 0.8204 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.008006, allocations: 4 kB / 0.8204 GB, free: 9.426 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 7.504e-05/0.008081, allocations: 156.6 kB / 0.8206 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.008115, allocations: 43.7 kB / 0.8206 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.008152, allocations: 31.28 kB / 0.8206 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.008155, allocations: 4 kB / 0.8206 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.008156, allocations: 0 / 0.8206 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.008159, allocations: 3.984 kB / 0.8206 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.008319, allocations: 201.1 kB / 0.8208 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.00832, allocations: 0.875 kB / 0.8208 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.717e-05/0.008378, allocations: 12 kB / 0.8208 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008379, allocations: 1.062 kB / 0.8208 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.00839, allocations: 11.94 kB / 0.8209 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.008391, allocations: 0 / 0.8209 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008392, allocations: 5.031 kB / 0.8209 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.008544, allocations: 243.7 kB / 0.8211 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.008589, allocations: 40.88 kB / 0.8211 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.008606, allocations: 7.938 kB / 0.8211 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.422e-05/0.00865, allocations: 4 kB / 0.8211 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.008675, allocations: 8.922 kB / 0.8212 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.008679, allocations: 0 / 0.8212 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001248/0.008803, allocations: 275 kB / 0.8214 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008803, allocations: 0.5938 kB / 0.8214 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001666/0.00897, allocations: 47.89 kB / 0.8215 GB, free: 8.305 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 7.873e-05/0.009049, allocations: 100.8 kB / 0.8216 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.416e-05/0.009133, allocations: 44.11 kB / 0.8216 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009135, allocations: 1.594 kB / 0.8216 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.275e-05/0.009157, allocations: 23.67 kB / 0.8216 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.009374, allocations: 26.52 kB / 0.8217 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007285/0.0101, allocations: 0.5805 MB / 0.8222 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.798e-05/0.01016, allocations: 107.3 kB / 0.8223 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.754e-05/0.0102, allocations: 8.641 kB / 0.8223 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.162e-05/0.01026, allocations: 86.19 kB / 0.8224 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.01026, allocations: 0 / 0.8224 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.003851/0.01411, allocations: 1.204 MB / 0.8236 GB, free: 6.098 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.009384812321514]