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.001006/0.001006, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009888/0.0009888, allocations: 173 kB / 23.49 MB, free: 1.055 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.9556/0.9556, allocations: 177.2 MB / 203.8 MB, free: 5.59 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.054/2.054, allocations: 429.5 MB / 0.6736 GB, free: 4.004 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 2.124e-06/2.124e-06, allocations: 0 / 0.8782 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.578e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00389/0.003916, allocations: 3.449 MB / 0.8815 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 8.014e-05/0.003996, allocations: 52.3 kB / 0.8816 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.004024, allocations: 0 / 0.8816 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.004145, allocations: 4.594 kB / 0.8816 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.946e-05/0.004224, allocations: 13.05 kB / 0.8816 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.004828, allocations: 197.2 kB / 0.8818 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.72e-05/0.004915, allocations: 39.84 kB / 0.8818 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.004951, allocations: 1.125 kB / 0.8818 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.016e-05/0.005001, allocations: 23.92 kB / 0.8819 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.005072, allocations: 11.97 kB / 0.8819 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.005085, allocations: 5.031 kB / 0.8819 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.00531, allocations: 131.5 kB / 0.882 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.005358, allocations: 9.094 kB / 0.882 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.005382, allocations: 7.984 kB / 0.882 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.005603, allocations: 135.6 kB / 0.8822 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.005605, allocations: 3.344 kB / 0.8822 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005606, allocations: 0 / 0.8822 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.00561, allocations: 0 / 0.8822 GB, free: 2.543 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.0003555/0.005966, allocations: 372.5 kB / 0.8825 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.006005, allocations: 8.031 kB / 0.8825 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.006051, allocations: 4.938 kB / 0.8825 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.58e-05/0.006137, allocations: 108.6 kB / 0.8826 GB, free: 2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.453e-05/0.006202, allocations: 59.97 kB / 0.8827 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.006212, allocations: 384 / 0.8827 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.006341, allocations: 85.77 kB / 0.8828 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.006348, allocations: 192 / 0.8828 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.006358, allocations: 3.938 kB / 0.8828 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.006391, allocations: 1.562 kB / 0.8828 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.332e-05/0.006435, allocations: 11.98 kB / 0.8828 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.006898, allocations: 299.7 kB / 0.8831 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.639e-05/0.006934, allocations: 32.12 kB / 0.8831 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.00695, allocations: 11.69 kB / 0.8831 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.179e-05/0.007011, allocations: 43.91 kB / 0.8832 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.007035, allocations: 34.86 kB / 0.8832 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.007036, allocations: 0 / 0.8832 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001451/0.007181, allocations: 33.7 kB / 0.8832 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.007216, allocations: 59.53 kB / 0.8833 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.913e-05/0.007315, allocations: 157.9 kB / 0.8834 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.007327, allocations: 29.64 kB / 0.8835 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.007377, allocations: 138.8 kB / 0.8836 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.893e-06/0.007384, allocations: 3.984 kB / 0.8836 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.00741, allocations: 19.38 kB / 0.8836 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.007524, allocations: 0.4884 MB / 0.8841 GB, free: 364 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.007535, allocations: 4 kB / 0.8841 GB, free: 360 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/0.007558, allocations: 19.38 kB / 0.8841 GB, free: 332 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.03e-05/0.007588, allocations: 27.38 kB / 0.8841 GB, free: 296 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.00759, allocations: 0 / 0.8841 GB, free: 296 kB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.383e-05/0.007643, allocations: 53.52 kB / 0.8842 GB, free: 236 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.007657, allocations: 10.5 kB / 0.8842 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.007661, allocations: 0 / 0.8842 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.007674, allocations: 0 / 0.8842 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.427e-05/0.007718, allocations: 11.98 kB / 0.8842 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.007726, allocations: 0 / 0.8842 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.236e-05/0.007738, allocations: 4 kB / 0.8842 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.007749, allocations: 4 kB / 0.8842 GB, free: 208 kB / 0.8386 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.929e-05/0.007828, allocations: 164.6 kB / 0.8844 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.007844, allocations: 3.938 kB / 0.8844 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.007981, allocations: 163.7 kB / 0.8845 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.129e-05/0.008042, allocations: 268.1 kB / 0.8848 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.356e-05/0.008106, allocations: 276 kB / 0.8851 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.149e-05/0.008167, allocations: 264.1 kB / 0.8853 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.008357, allocations: 0.492 MB / 0.8858 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.964e-05/0.008407, allocations: 144.9 kB / 0.8859 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.008447, allocations: 148.9 kB / 0.8861 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.967e-05/0.008517, allocations: 276 kB / 0.8863 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/0.008577, allocations: 268.1 kB / 0.8866 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.947e-05/0.008636, allocations: 272 kB / 0.8868 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.842e-05/0.008695, allocations: 264.1 kB / 0.8871 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.008823, allocations: 447.9 kB / 0.8875 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.008863, allocations: 157.1 kB / 0.8877 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.858e-05/0.008952, allocations: 272 kB / 0.8879 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.009102, allocations: 152.9 kB / 0.8881 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/0.009191, allocations: 272 kB / 0.8883 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.242e-05/0.009243, allocations: 152.9 kB / 0.8885 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.229e-05/0.009296, allocations: 123.2 kB / 0.8886 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.009296, allocations: 4 kB / 0.8886 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001976/0.009493, allocations: 39.81 kB / 0.8886 GB, free: 11.47 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.0002281/0.009721, allocations: 278.6 kB / 0.8889 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.054e-05/0.009812, allocations: 19.62 kB / 0.8889 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.009814, allocations: 0 / 0.8889 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.009815, allocations: 0 / 0.8889 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.01013, allocations: 0.7142 MB / 0.8896 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000499/0.01063, allocations: 237.5 kB / 0.8898 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.005e-05/0.01066, allocations: 55.3 kB / 0.8899 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.706e-05/0.01068, allocations: 15.36 kB / 0.8899 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/0.0107, allocations: 8.5 kB / 0.8899 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.0107, allocations: 0 / 0.8899 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of Templates: time 0.003102/0.0138, allocations: 1.292 MB / 0.8912 GB, free: 8.855 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: 5.556995996972546]