Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001061/0.001061, allocations: 87.58 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.001252/0.001252, allocations: 161 kB / 23.82 MB, free: 0.75 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.9832/0.9832, allocations: 177.1 MB / 204.2 MB, free: 5.613 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 2.002/2.002, allocations: 377.8 MB / 0.6236 GB, free: 8.504 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.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8115 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.591e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004061/0.004087, allocations: 3.458 MB / 0.8149 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 8.328e-05/0.00417, allocations: 52.48 kB / 0.815 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.004193, allocations: 4.75 kB / 0.815 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.648e-05/0.00429, allocations: 4 kB / 0.815 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.394e-05/0.004364, allocations: 17.16 kB / 0.815 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.004815, allocations: 213 kB / 0.8152 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.443e-05/0.00489, allocations: 39.84 kB / 0.8152 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.376e-05/0.004923, allocations: 4.953 kB / 0.8152 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.338e-05/0.004967, allocations: 23.97 kB / 0.8152 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.005033, allocations: 8.469 kB / 0.8153 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.005046, allocations: 4 kB / 0.8153 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.00525, allocations: 136.4 kB / 0.8154 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.349e-05/0.005283, allocations: 11.92 kB / 0.8154 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.0053, allocations: 13.64 kB / 0.8154 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.005464, allocations: 131.6 kB / 0.8155 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.005466, allocations: 0 / 0.8155 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.52e-07/0.005467, allocations: 0 / 0.8155 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.00547, allocations: 1.531 kB / 0.8155 GB, free: 12.48 MB / 0.7292 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.0002441/0.005714, allocations: 368.2 kB / 0.8159 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.495e-05/0.005739, allocations: 11.97 kB / 0.8159 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.005768, allocations: 4.938 kB / 0.8159 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.192e-05/0.00582, allocations: 118.1 kB / 0.816 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.005871, allocations: 55.97 kB / 0.8161 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.005878, allocations: 384 / 0.8161 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.005994, allocations: 85.58 kB / 0.8162 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.006002, allocations: 192 / 0.8162 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.006013, allocations: 3.938 kB / 0.8162 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.006043, allocations: 5.641 kB / 0.8162 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.794e-05/0.006071, allocations: 8 kB / 0.8162 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.006521, allocations: 291.8 kB / 0.8165 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.64e-05/0.006557, allocations: 31.06 kB / 0.8165 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.006574, allocations: 12.22 kB / 0.8165 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.716e-05/0.006631, allocations: 36.72 kB / 0.8165 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.006655, allocations: 37.39 kB / 0.8166 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.006657, allocations: 0.6562 kB / 0.8166 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001267/0.006783, allocations: 38.67 kB / 0.8166 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.006815, allocations: 55.34 kB / 0.8167 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.975e-05/0.006905, allocations: 162.5 kB / 0.8168 GB, free: 11 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.006916, allocations: 25.7 kB / 0.8168 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.006967, allocations: 140.1 kB / 0.817 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.212e-06/0.006973, allocations: 3.953 kB / 0.817 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.007001, allocations: 27.36 kB / 0.817 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.007113, allocations: 492.1 kB / 0.8175 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.007123, allocations: 5.188 kB / 0.8175 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.00714, allocations: 19.38 kB / 0.8175 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.316e-05/0.007173, allocations: 32.11 kB / 0.8175 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007175, allocations: 0.9375 kB / 0.8175 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.092e-05/0.007236, allocations: 49.58 kB / 0.8176 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.00725, allocations: 9.344 kB / 0.8176 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.007255, allocations: 3.984 kB / 0.8176 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.007271, allocations: 0 / 0.8176 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.007306, allocations: 5 kB / 0.8176 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.007311, allocations: 0 / 0.8176 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.173e-05/0.007323, allocations: 5.938 kB / 0.8176 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.007332, allocations: 4 kB / 0.8176 GB, free: 10.15 MB / 0.7292 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 6.217e-05/0.007394, allocations: 156.6 kB / 0.8177 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.007409, allocations: 3.938 kB / 0.8177 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.007515, allocations: 180.4 kB / 0.8179 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.47e-05/0.00758, allocations: 268 kB / 0.8182 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.534e-05/0.007635, allocations: 271.5 kB / 0.8184 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.524e-05/0.00769, allocations: 268 kB / 0.8187 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.007852, allocations: 499.9 kB / 0.8192 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.632e-05/0.007888, allocations: 148.8 kB / 0.8193 GB, free: 8.301 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.007925, allocations: 148.9 kB / 0.8195 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.497e-05/0.00799, allocations: 272 kB / 0.8197 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/0.00805, allocations: 272 kB / 0.82 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.034e-05/0.008111, allocations: 268.1 kB / 0.8202 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.885e-05/0.00817, allocations: 268 kB / 0.8205 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.008454, allocations: 440.6 kB / 0.8209 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.008494, allocations: 164.8 kB / 0.8211 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-05/0.008563, allocations: 264.6 kB / 0.8213 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.661e-05/0.008659, allocations: 153.6 kB / 0.8215 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.008718, allocations: 272 kB / 0.8217 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.008749, allocations: 150.1 kB / 0.8219 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.382e-05/0.008792, allocations: 127.2 kB / 0.822 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008793, allocations: 0 / 0.822 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002039/0.008996, allocations: 40.61 kB / 0.822 GB, free: 5.426 MB / 0.7292 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.0002368/0.009233, allocations: 280.5 kB / 0.8223 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.333e-05/0.009306, allocations: 13.84 kB / 0.8223 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.009308, allocations: 0 / 0.8223 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.009309, allocations: 0 / 0.8223 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.009662, allocations: 0.725 MB / 0.823 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.01009, allocations: 233.6 kB / 0.8232 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.101e-05/0.01013, allocations: 51.36 kB / 0.8233 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.741e-05/0.01015, allocations: 7.984 kB / 0.8233 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.01017, allocations: 13.44 kB / 0.8233 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.01017, allocations: 0 / 0.8233 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of Templates: time 0.002857/0.01303, allocations: 1.173 MB / 0.8244 GB, free: 2.941 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.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.312270629219711]