Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001863/0.001863, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001767/0.001767, allocations: 169 kB / 24.06 MB, free: 452 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 1.139/1.139, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.324/2.324, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0.7656 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.894e-05, allocations: 9 kB / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004396/0.004425, allocations: 3.442 MB / 0.8827 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 9.296e-05/0.004518, allocations: 55.14 kB / 0.8828 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.004553, allocations: 0 / 0.8828 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.004695, allocations: 7.984 kB / 0.8828 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.495e-05/0.00479, allocations: 11.86 kB / 0.8828 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.005302, allocations: 221.2 kB / 0.883 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.737e-05/0.005399, allocations: 43.78 kB / 0.8831 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.005447, allocations: 0 / 0.8831 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.372e-05/0.00551, allocations: 19.97 kB / 0.8831 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.969e-05/0.00559, allocations: 11.98 kB / 0.8831 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.005604, allocations: 4 kB / 0.8831 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.005843, allocations: 143.5 kB / 0.8832 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.005889, allocations: 4 kB / 0.8832 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.005911, allocations: 15.97 kB / 0.8833 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.006123, allocations: 127.6 kB / 0.8834 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.006127, allocations: 0 / 0.8834 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.793e-06/0.006129, allocations: 0 / 0.8834 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.006133, allocations: 0 / 0.8834 GB, free: 1.961 MB / 0.8386 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.000392/0.006525, allocations: 380.5 kB / 0.8837 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.006567, allocations: 19.97 kB / 0.8838 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.006609, allocations: 0.9375 kB / 0.8838 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.621e-05/0.006705, allocations: 112.6 kB / 0.8839 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.918e-05/0.006774, allocations: 51.97 kB / 0.8839 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.006786, allocations: 4.375 kB / 0.8839 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.006914, allocations: 80.64 kB / 0.884 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.006924, allocations: 4.125 kB / 0.884 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.006934, allocations: 3.938 kB / 0.884 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.006958, allocations: 4 kB / 0.884 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.082e-05/0.006978, allocations: 7.984 kB / 0.884 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.007397, allocations: 276.4 kB / 0.8843 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.007442, allocations: 27.06 kB / 0.8843 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.00746, allocations: 7.688 kB / 0.8843 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003027/0.007763, allocations: 39.91 kB / 0.8844 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.007788, allocations: 45.33 kB / 0.8844 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.00779, allocations: 0 / 0.8844 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001316/0.007921, allocations: 33.69 kB / 0.8844 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.007951, allocations: 51.41 kB / 0.8845 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.008029, allocations: 157.9 kB / 0.8846 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.008041, allocations: 29.83 kB / 0.8847 GB, free: 480 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.008096, allocations: 138.8 kB / 0.8848 GB, free: 336 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-06/0.0081, allocations: 0 / 0.8848 GB, free: 336 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.008128, allocations: 23.38 kB / 0.8848 GB, free: 304 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.008276, allocations: 496.1 kB / 0.8853 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.008286, allocations: 3.938 kB / 0.8853 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.008306, allocations: 23.36 kB / 0.8853 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.082e-05/0.008337, allocations: 23.36 kB / 0.8853 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.008341, allocations: 4 kB / 0.8853 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.302e-05/0.008414, allocations: 61.52 kB / 0.8854 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.008427, allocations: 4 kB / 0.8854 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.008436, allocations: 3.938 kB / 0.8854 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.008448, allocations: 0 / 0.8854 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.749e-05/0.008496, allocations: 4 kB / 0.8854 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.0085, allocations: 4 kB / 0.8854 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.008513, allocations: 0 / 0.8854 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.008522, allocations: 0 / 0.8854 GB, free: 15.65 MB / 0.8542 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.829e-05/0.00859, allocations: 160.6 kB / 0.8856 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.008608, allocations: 8 kB / 0.8856 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.008721, allocations: 167.7 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.363e-05/0.008785, allocations: 264.1 kB / 0.886 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.187e-05/0.008847, allocations: 276 kB / 0.8862 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.069e-05/0.008907, allocations: 264.1 kB / 0.8865 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.009081, allocations: 480.5 kB / 0.887 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.613e-05/0.009117, allocations: 148.9 kB / 0.8871 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.009155, allocations: 156.9 kB / 0.8873 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.719e-05/0.009222, allocations: 268 kB / 0.8875 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-05/0.009286, allocations: 264.1 kB / 0.8878 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.193e-05/0.009348, allocations: 280 kB / 0.888 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.138e-05/0.009409, allocations: 264.1 kB / 0.8883 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.009553, allocations: 451.9 kB / 0.8887 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.0096, allocations: 153.2 kB / 0.8889 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.369e-05/0.009683, allocations: 272 kB / 0.8891 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.009804, allocations: 156.8 kB / 0.8893 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.009878, allocations: 264.1 kB / 0.8895 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.009921, allocations: 156.8 kB / 0.8897 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.763e-05/0.009968, allocations: 123.2 kB / 0.8898 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009968, allocations: 0 / 0.8898 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002354/0.0102, allocations: 43.8 kB / 0.8898 GB, free: 10.94 MB / 0.8542 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.0002608/0.01046, allocations: 274.5 kB / 0.8901 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.218e-05/0.01055, allocations: 23.69 kB / 0.8901 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01055, allocations: 3.938 kB / 0.8901 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.01055, allocations: 8.062 kB / 0.8901 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.01092, allocations: 0.7077 MB / 0.8908 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.01136, allocations: 237.5 kB / 0.891 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.416e-05/0.01139, allocations: 51.36 kB / 0.8911 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.145e-05/0.01142, allocations: 4 kB / 0.8911 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/0.01149, allocations: 86.17 kB / 0.8912 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of SimCode: time 1.764e-06/0.01149, allocations: 0 / 0.8912 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of Templates: time 0.003583/0.01508, allocations: 1.364 MB / 0.8925 GB, free: 8.18 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.231061580590904]