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.0009572/0.0009572, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001026/0.001026, allocations: 173 kB / 23.03 MB, free: 1.547 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.9279/0.9279, allocations: 177.1 MB / 203.4 MB, free: 5.625 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 1.986/1.986, allocations: 429.5 MB / 0.6733 GB, free: 4.023 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.734e-06/1.734e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.069e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003801/0.003822, allocations: 3.46 MB / 0.8815 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001345/0.003956, allocations: 47.81 kB / 0.8816 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.00398, allocations: 0 / 0.8816 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.004096, allocations: 3.984 kB / 0.8816 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.181e-05/0.004188, allocations: 19.86 kB / 0.8816 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.004707, allocations: 218.8 kB / 0.8818 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.249e-05/0.00479, allocations: 43.78 kB / 0.8819 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.338e-05/0.004823, allocations: 0 / 0.8819 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.565e-05/0.004879, allocations: 19.97 kB / 0.8819 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.477e-05/0.004953, allocations: 19.92 kB / 0.8819 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.004968, allocations: 4 kB / 0.8819 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.00522, allocations: 135.5 kB / 0.882 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.005268, allocations: 7.938 kB / 0.882 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.00529, allocations: 11.97 kB / 0.8821 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.005503, allocations: 131.6 kB / 0.8822 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005505, allocations: 0 / 0.8822 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.005506, allocations: 0 / 0.8822 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.00551, allocations: 0 / 0.8822 GB, free: 2.199 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.0003423/0.005852, allocations: 372.5 kB / 0.8825 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.005892, allocations: 16.02 kB / 0.8826 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.005938, allocations: 8.938 kB / 0.8826 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.954e-05/0.006018, allocations: 104.6 kB / 0.8827 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-05/0.006079, allocations: 55.97 kB / 0.8827 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.006089, allocations: 384 / 0.8827 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.00622, allocations: 80.64 kB / 0.8828 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.006227, allocations: 4.125 kB / 0.8828 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.006237, allocations: 3.938 kB / 0.8828 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.006263, allocations: 7.984 kB / 0.8828 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.626e-05/0.00629, allocations: 11.98 kB / 0.8828 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.006762, allocations: 295.7 kB / 0.8831 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.545e-05/0.006807, allocations: 23.06 kB / 0.8831 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.006824, allocations: 19.72 kB / 0.8831 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.975e-05/0.006884, allocations: 39.86 kB / 0.8832 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.006905, allocations: 33.39 kB / 0.8832 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.006907, allocations: 0 / 0.8832 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0002606/0.007167, allocations: 41.62 kB / 0.8833 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.007194, allocations: 55.41 kB / 0.8833 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.007265, allocations: 157.9 kB / 0.8835 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.007276, allocations: 29.83 kB / 0.8835 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.007323, allocations: 138.8 kB / 0.8836 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.998e-06/0.007327, allocations: 0 / 0.8836 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.007351, allocations: 19.38 kB / 0.8836 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.007453, allocations: 0.4922 MB / 0.8841 GB, free: 4 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.007464, allocations: 4 kB / 0.8841 GB, free: 0 / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.007496, allocations: 19.38 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.669e-05/0.007523, allocations: 23.38 kB / 0.8842 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.007524, allocations: 0 / 0.8842 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.185e-05/0.007576, allocations: 57.52 kB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.00759, allocations: 10.03 kB / 0.8842 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.007595, allocations: 0 / 0.8842 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.007606, allocations: 0 / 0.8842 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.92e-05/0.007645, allocations: 4 kB / 0.8842 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.007652, allocations: 7.984 kB / 0.8842 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.398e-05/0.007666, allocations: 4 kB / 0.8842 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.007675, allocations: 4 kB / 0.8842 GB, free: 15.85 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.63e-05/0.007741, allocations: 156.6 kB / 0.8844 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.007758, allocations: 8 kB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.00786, allocations: 167.7 kB / 0.8846 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-05/0.007923, allocations: 268.1 kB / 0.8848 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.581e-05/0.007989, allocations: 272 kB / 0.8851 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.376e-05/0.008052, allocations: 264.1 kB / 0.8853 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.008211, allocations: 0.492 MB / 0.8858 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.408e-05/0.008245, allocations: 144.9 kB / 0.8859 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.008279, allocations: 148.9 kB / 0.8861 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.665e-05/0.008336, allocations: 272 kB / 0.8863 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.031e-05/0.008406, allocations: 264.1 kB / 0.8866 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002698/0.008676, allocations: 280 kB / 0.8869 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.659e-05/0.008732, allocations: 268.1 kB / 0.8871 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.008855, allocations: 443.9 kB / 0.8875 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.008892, allocations: 152.8 kB / 0.8877 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/0.008961, allocations: 276 kB / 0.888 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.00906, allocations: 156.8 kB / 0.8881 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.009122, allocations: 264.1 kB / 0.8884 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.009156, allocations: 152.8 kB / 0.8885 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.009194, allocations: 127.2 kB / 0.8886 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2e-07/0.009194, allocations: 0 / 0.8886 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000199/0.009393, allocations: 39.81 kB / 0.8887 GB, free: 11.12 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.0002149/0.009608, allocations: 278.8 kB / 0.8889 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.124e-05/0.00969, allocations: 23.69 kB / 0.8889 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.009692, allocations: 0 / 0.8889 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.009693, allocations: 8.062 kB / 0.889 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.01001, allocations: 0.7161 MB / 0.8897 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.0104, allocations: 229.5 kB / 0.8899 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.468e-05/0.01044, allocations: 55.34 kB / 0.8899 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.629e-05/0.01046, allocations: 4 kB / 0.8899 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/0.01048, allocations: 16.5 kB / 0.8899 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.01048, allocations: 3.938 kB / 0.89 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of Templates: time 0.003008/0.01349, allocations: 1.433 MB / 0.8914 GB, free: 8.355 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.255939099006355]