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.001086/0.001086, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009945/0.0009945, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.963/0.963, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.844/1.844, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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.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.393e-06/1.393e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.77e-05, allocations: 5.125 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003508/0.003526, allocations: 3.452 MB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 7.926e-05/0.003605, allocations: 52.95 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.003628, allocations: 0 / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.003735, allocations: 4.625 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.674e-05/0.003812, allocations: 13.3 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.004335, allocations: 224.8 kB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.841e-05/0.004414, allocations: 35.84 kB / 0.8152 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.143e-05/0.004445, allocations: 5.094 kB / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.694e-05/0.004492, allocations: 11.98 kB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.419e-05/0.004556, allocations: 15.97 kB / 0.8153 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.004568, allocations: 0.5 kB / 0.8153 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.004794, allocations: 148 kB / 0.8154 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.004834, allocations: 4.562 kB / 0.8154 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.004854, allocations: 7.984 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.00505, allocations: 132.6 kB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005052, allocations: 0 / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005052, allocations: 0.9062 kB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.005056, allocations: 0 / 0.8155 GB, free: 13.65 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.0003345/0.005391, allocations: 376.1 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.005424, allocations: 10.28 kB / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.005465, allocations: 9.234 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.061e-05/0.005546, allocations: 120.5 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.713e-05/0.005603, allocations: 51.97 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.005612, allocations: 4.375 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.005725, allocations: 77.19 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.005732, allocations: 0.9062 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.005742, allocations: 3.938 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.005764, allocations: 0.5 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.38e-05/0.005788, allocations: 4.812 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.006218, allocations: 291.8 kB / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.608e-05/0.006254, allocations: 32 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.368e-05/0.006267, allocations: 11.62 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.733e-05/0.006325, allocations: 45.19 kB / 0.8165 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.006346, allocations: 37.39 kB / 0.8166 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.006347, allocations: 0 / 0.8166 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.006472, allocations: 38.59 kB / 0.8166 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.0065, allocations: 51.41 kB / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.565e-05/0.006585, allocations: 168.2 kB / 0.8168 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.006598, allocations: 25.7 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.006648, allocations: 138.8 kB / 0.817 GB, free: 12 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/0.006659, allocations: 7.938 kB / 0.817 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.006685, allocations: 19.38 kB / 0.817 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.006807, allocations: 0.4884 MB / 0.8175 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.006817, allocations: 7.219 kB / 0.8175 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.006839, allocations: 23.36 kB / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.086e-05/0.00687, allocations: 27.31 kB / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006872, allocations: 0 / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.763e-05/0.00694, allocations: 49.62 kB / 0.8176 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.006954, allocations: 6.812 kB / 0.8176 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.006958, allocations: 1.062 kB / 0.8176 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.006972, allocations: 4 kB / 0.8176 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-05/0.00701, allocations: 7.938 kB / 0.8176 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.007016, allocations: 1.031 kB / 0.8176 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.242e-05/0.007029, allocations: 0 / 0.8176 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.007039, allocations: 4 kB / 0.8176 GB, free: 11.32 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 6.452e-05/0.007103, allocations: 161.6 kB / 0.8178 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.007121, allocations: 11.89 kB / 0.8178 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.007235, allocations: 164.3 kB / 0.8179 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.591e-05/0.007301, allocations: 273.6 kB / 0.8182 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-05/0.007367, allocations: 268.1 kB / 0.8184 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-05/0.007428, allocations: 272 kB / 0.8187 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.007588, allocations: 499.9 kB / 0.8192 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.173e-05/0.00762, allocations: 150 kB / 0.8193 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.007652, allocations: 148.8 kB / 0.8195 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.099e-05/0.007713, allocations: 272 kB / 0.8197 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.007779, allocations: 269.1 kB / 0.82 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.481e-05/0.007864, allocations: 264.1 kB / 0.8202 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.222e-05/0.007936, allocations: 268.1 kB / 0.8205 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.008089, allocations: 448.6 kB / 0.8209 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.008131, allocations: 156.8 kB / 0.8211 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.008205, allocations: 268.6 kB / 0.8213 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.00831, allocations: 153.8 kB / 0.8215 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.008376, allocations: 272 kB / 0.8217 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.008413, allocations: 145.9 kB / 0.8219 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.706e-05/0.00846, allocations: 127.2 kB / 0.822 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00846, allocations: 0 / 0.822 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001958/0.008655, allocations: 40.84 kB / 0.822 GB, free: 6.602 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.0002408/0.008896, allocations: 278.7 kB / 0.8223 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.733e-05/0.008974, allocations: 27.92 kB / 0.8223 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.008975, allocations: 0 / 0.8223 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.008976, allocations: 0 / 0.8223 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.009302, allocations: 0.7023 MB / 0.823 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.009736, allocations: 251.5 kB / 0.8232 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.364e-05/0.009779, allocations: 55.34 kB / 0.8233 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.408e-05/0.009814, allocations: 5.469 kB / 0.8233 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/0.009836, allocations: 8.812 kB / 0.8233 GB, free: 5.227 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.009837, allocations: 8 kB / 0.8233 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of Templates: time 0.003203/0.01304, allocations: 1.438 MB / 0.8247 GB, free: 3.828 MB / 0.7761 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.074616230092943]