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.001439/0.001439, 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.001474/0.001474, allocations: 169.3 kB / 23.02 MB, free: 1.555 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 1/1, 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 2.164/2.164, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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.713e-06/1.713e-06, allocations: 0 / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.085e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004537/0.004568, allocations: 3.462 MB / 0.8815 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 9.032e-05/0.004658, allocations: 61.11 kB / 0.8816 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.515e-05/0.004673, allocations: 0 / 0.8816 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.084e-05/0.004724, allocations: 0.7812 kB / 0.8816 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.475e-05/0.004769, allocations: 11.92 kB / 0.8816 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.005238, allocations: 225.3 kB / 0.8818 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.43e-05/0.005292, allocations: 37.28 kB / 0.8819 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 1.806e-05/0.00531, allocations: 3.984 kB / 0.8819 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.106e-05/0.005361, allocations: 19.92 kB / 0.8819 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.707e-05/0.005438, allocations: 12.55 kB / 0.8819 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.005452, allocations: 0 / 0.8819 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.005713, allocations: 144.6 kB / 0.882 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.005762, allocations: 11.98 kB / 0.8821 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.005784, allocations: 7.469 kB / 0.8821 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.006022, allocations: 131.6 kB / 0.8822 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.006025, allocations: 0 / 0.8822 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.112e-06/0.006026, allocations: 0 / 0.8822 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.006032, allocations: 0 / 0.8822 GB, free: 2.234 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.0003906/0.006422, allocations: 376.5 kB / 0.8825 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.00646, allocations: 12.03 kB / 0.8826 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.00651, allocations: 0.9375 kB / 0.8826 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.068e-05/0.006601, allocations: 108.6 kB / 0.8827 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/0.006674, allocations: 56.84 kB / 0.8827 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.006689, allocations: 4.375 kB / 0.8827 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.006828, allocations: 77.19 kB / 0.8828 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.006836, allocations: 192 / 0.8828 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.006848, allocations: 9.25 kB / 0.8828 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.006875, allocations: 3.984 kB / 0.8828 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.71e-05/0.006902, allocations: 4 kB / 0.8828 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.007379, allocations: 305 kB / 0.8831 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.949e-05/0.007419, allocations: 27.06 kB / 0.8831 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.007436, allocations: 15.56 kB / 0.8831 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.769e-05/0.007513, allocations: 47.95 kB / 0.8832 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.00754, allocations: 33.39 kB / 0.8832 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.007541, allocations: 4 kB / 0.8832 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001341/0.007675, allocations: 29.7 kB / 0.8833 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.007702, allocations: 51.41 kB / 0.8833 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.008045, allocations: 169.9 kB / 0.8835 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.008056, allocations: 25.7 kB / 0.8835 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.008107, allocations: 130.8 kB / 0.8836 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.008112, allocations: 7.938 kB / 0.8836 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.008145, allocations: 23.36 kB / 0.8836 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.00827, allocations: 0.4885 MB / 0.8841 GB, free: 44 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.008284, allocations: 4 kB / 0.8841 GB, free: 40 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.008307, allocations: 19.38 kB / 0.8841 GB, free: 12 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.959e-05/0.008357, allocations: 27.36 kB / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.008359, allocations: 0 / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.207e-05/0.008421, allocations: 53.53 kB / 0.8842 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.008434, allocations: 4 kB / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.00844, allocations: 3.984 kB / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.008455, allocations: 4.062 kB / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.421e-05/0.0085, allocations: 8 kB / 0.8842 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.008505, allocations: 0 / 0.8842 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.311e-05/0.008518, allocations: 0 / 0.8842 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.008527, allocations: 4 kB / 0.8842 GB, free: 15.89 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 5.81e-05/0.008585, allocations: 156.6 kB / 0.8844 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.008602, allocations: 11.88 kB / 0.8844 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.008709, allocations: 159.7 kB / 0.8846 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.067e-05/0.00876, allocations: 268.1 kB / 0.8848 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.552e-05/0.008815, allocations: 280 kB / 0.8851 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-05/0.008871, allocations: 264.1 kB / 0.8853 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.009027, allocations: 0.492 MB / 0.8858 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-05/0.009062, allocations: 152.9 kB / 0.886 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.009096, allocations: 144.9 kB / 0.8861 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.924e-05/0.009165, allocations: 275.9 kB / 0.8864 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.437e-05/0.00925, allocations: 268.1 kB / 0.8866 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.435e-05/0.009324, allocations: 268 kB / 0.8869 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.482e-05/0.009399, allocations: 264.1 kB / 0.8871 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.009566, allocations: 455.9 kB / 0.8876 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.009617, allocations: 148.8 kB / 0.8877 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.143e-05/0.009708, allocations: 280 kB / 0.888 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.00985, allocations: 148.9 kB / 0.8881 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/0.009932, allocations: 268.1 kB / 0.8884 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.009976, allocations: 152.8 kB / 0.8885 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.461e-05/0.01003, allocations: 123.2 kB / 0.8886 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01003, allocations: 0 / 0.8886 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003372/0.01037, allocations: 43.8 kB / 0.8887 GB, free: 11.16 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.0003137/0.01068, allocations: 274.6 kB / 0.8889 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.756e-05/0.01077, allocations: 19.62 kB / 0.8889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01077, allocations: 0 / 0.8889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.01077, allocations: 0 / 0.8889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.01125, allocations: 0.714 MB / 0.8896 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005421/0.01179, allocations: 237.6 kB / 0.8899 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.521e-05/0.01184, allocations: 55.36 kB / 0.8899 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.01188, allocations: 11.92 kB / 0.8899 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.0119, allocations: 8.5 kB / 0.8899 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of SimCode: time 7.02e-07/0.0119, allocations: 0 / 0.8899 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of Templates: time 0.004288/0.01619, allocations: 1.169 MB / 0.8911 GB, free: 8.664 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.634942153934389]