Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0009087/0.0009087, 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.0009187/0.0009187, 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.9512/0.9512, allocations: 177.1 MB / 204.5 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.893/1.893, allocations: 377.9 MB / 0.624 GB, free: 8.402 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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.941e-05, allocations: 6.312 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006403/0.006432, allocations: 3.835 MB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.000229/0.006661, allocations: 153.2 kB / 0.8159 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.006694, allocations: 0 / 0.8159 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.006829, allocations: 3.984 kB / 0.8159 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.585e-05/0.006915, allocations: 11.86 kB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.0073, allocations: 93.58 kB / 0.816 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.672e-05/0.007396, allocations: 33 kB / 0.816 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.00744, allocations: 4 kB / 0.816 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.745e-05/0.007508, allocations: 15.98 kB / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.007585, allocations: 16.5 kB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.007598, allocations: 0 / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006414/0.008239, allocations: 216 kB / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.094e-05/0.00828, allocations: 8.766 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.008302, allocations: 11.98 kB / 0.8163 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.008462, allocations: 64.89 kB / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.008466, allocations: 0 / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.008467, allocations: 0 / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.008471, allocations: 1.406 kB / 0.8163 GB, free: 13.01 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003665/0.008837, allocations: 356.3 kB / 0.8167 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.008879, allocations: 8.031 kB / 0.8167 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.008919, allocations: 9.234 kB / 0.8167 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.054e-05/0.009009, allocations: 113.9 kB / 0.8168 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/0.009075, allocations: 51.97 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-06/0.009084, allocations: 384 / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.009215, allocations: 83.59 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.009223, allocations: 192 / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.009234, allocations: 3.938 kB / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.00926, allocations: 7.984 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.199e-05/0.009282, allocations: 8 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.009635, allocations: 236.5 kB / 0.8172 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.032e-05/0.009675, allocations: 31 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.15e-05/0.009687, allocations: 8.188 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.296e-05/0.00974, allocations: 13.72 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.009778, allocations: 45.33 kB / 0.8173 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.773e-06/0.00978, allocations: 0 / 0.8173 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001326/0.009913, allocations: 34.58 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.009939, allocations: 51.41 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.01003, allocations: 171.2 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.01004, allocations: 25.7 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.0101, allocations: 130.8 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.979e-06/0.01011, allocations: 12.95 kB / 0.8177 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.01015, allocations: 23.36 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.0103, allocations: 0.4884 MB / 0.8182 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.01031, allocations: 0.6562 kB / 0.8182 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/0.01033, allocations: 19.38 kB / 0.8182 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.538e-05/0.01037, allocations: 25.98 kB / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01037, allocations: 4 kB / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.456e-05/0.01046, allocations: 49.58 kB / 0.8183 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.01047, allocations: 4 kB / 0.8183 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.01048, allocations: 2.812 kB / 0.8183 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.01049, allocations: 0 / 0.8183 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.072e-05/0.01053, allocations: 11.98 kB / 0.8183 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.01053, allocations: 0 / 0.8183 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.01055, allocations: 3.938 kB / 0.8183 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.01056, allocations: 0 / 0.8183 GB, free: 10.79 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.655e-05/0.01063, allocations: 156.6 kB / 0.8184 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.01066, allocations: 8.828 kB / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.01079, allocations: 167.7 kB / 0.8186 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.643e-05/0.01087, allocations: 273.1 kB / 0.8189 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.061e-05/0.01094, allocations: 264.1 kB / 0.8191 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.407e-05/0.01101, allocations: 268 kB / 0.8194 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.01125, allocations: 489.5 kB / 0.8198 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.717e-05/0.01129, allocations: 148.9 kB / 0.82 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.01134, allocations: 157.9 kB / 0.8201 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.466e-05/0.01142, allocations: 264.2 kB / 0.8204 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.819e-05/0.01149, allocations: 268.1 kB / 0.8206 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.9e-05/0.01157, allocations: 285.1 kB / 0.8209 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-05/0.01164, allocations: 264.1 kB / 0.8212 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.01181, allocations: 440 kB / 0.8216 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.01186, allocations: 154.2 kB / 0.8217 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.665e-05/0.01195, allocations: 272 kB / 0.822 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.0121, allocations: 152.8 kB / 0.8221 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.545e-05/0.0122, allocations: 268 kB / 0.8224 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/0.01225, allocations: 151.8 kB / 0.8225 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.513e-05/0.01231, allocations: 127.2 kB / 0.8226 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01231, allocations: 0 / 0.8226 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002852/0.0126, allocations: 15.94 kB / 0.8227 GB, free: 6.117 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 0.0002612/0.01286, allocations: 242.3 kB / 0.8229 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.794e-05/0.01295, allocations: 19.61 kB / 0.8229 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.01295, allocations: 4.719 kB / 0.8229 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.01295, allocations: 1.656 kB / 0.8229 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.0135, allocations: 0.7061 MB / 0.8236 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.01405, allocations: 238 kB / 0.8238 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.811e-05/0.01412, allocations: 59.66 kB / 0.8239 GB, free: 4.789 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.338e-05/0.01417, allocations: 11.12 kB / 0.8239 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.01427, allocations: 82.17 kB / 0.824 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of SimCode: time 1.313e-06/0.01427, allocations: 0 / 0.824 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of Templates: time 0.003276/0.01755, allocations: 0.7529 MB / 0.8247 GB, free: 3.957 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.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.100290957838297]