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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.285/2.285, allocations: 390.5 MB / 398 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 176.9 kB / 491.2 MB, free: 1.594 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 221.5 MB / 0.7868 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008908/0.0008908, allocations: 91.52 kB / 0.9269 GB, free: 13.88 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.701e-05/1.705e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3659, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.418/1.784, allocations: 352.9 MB / 1.557 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/1.784, allocations: 74.7 kB / 1.557 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.02116/1.805, allocations: 9.098 MB / 1.566 GB, free: 5.332 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.683e-06/1.805, allocations: 0 / 1.566 GB, free: 5.332 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.805, allocations: 0.9375 kB / 1.566 GB, free: 5.332 MB / 0.9792 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.0003947/1.806, allocations: 337.8 kB / 1.566 GB, free: 4.961 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/1.806, allocations: 12.03 kB / 1.566 GB, free: 4.949 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/1.806, allocations: 0 / 1.566 GB, free: 4.949 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/1.806, allocations: 171 kB / 1.566 GB, free: 4.742 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.699e-05/1.806, allocations: 29.7 kB / 1.566 GB, free: 4.707 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/1.806, allocations: 0 / 1.566 GB, free: 4.707 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.541e-05/1.806, allocations: 15.81 kB / 1.566 GB, free: 4.695 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.644e-05/1.806, allocations: 37.69 kB / 1.566 GB, free: 4.652 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/1.806, allocations: 0 / 1.566 GB, free: 4.652 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/1.806, allocations: 3.938 kB / 1.566 GB, free: 4.648 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/1.806, allocations: 4 kB / 1.566 GB, free: 4.645 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006936/1.807, allocations: 0.5831 MB / 1.567 GB, free: 3.965 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 3.945e-05/1.807, allocations: 22.56 kB / 1.567 GB, free: 3.934 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.953e-05/1.807, allocations: 8.797 kB / 1.567 GB, free: 3.922 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/1.807, allocations: 361 kB / 1.567 GB, free: 3.504 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/1.807, allocations: 34.56 kB / 1.567 GB, free: 3.461 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/1.807, allocations: 0 / 1.567 GB, free: 3.461 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1): time 0.0002465/1.808, allocations: 45.31 kB / 1.567 GB, free: 3.414 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/1.808, allocations: 51.41 kB / 1.568 GB, free: 3.352 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/1.808, allocations: 92.98 kB / 1.568 GB, free: 3.254 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/1.808, allocations: 29.7 kB / 1.568 GB, free: 3.219 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/1.808, allocations: 91.3 kB / 1.568 GB, free: 3.129 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-06/1.808, allocations: 4.031 kB / 1.568 GB, free: 3.125 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-06/1.808, allocations: 0 / 1.568 GB, free: 3.125 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.808, allocations: 318.7 kB / 1.568 GB, free: 2.805 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/1.808, allocations: 11.86 kB / 1.568 GB, free: 2.797 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.098e-05/1.808, allocations: 17.66 kB / 1.568 GB, free: 2.773 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/1.808, allocations: 15.98 kB / 1.568 GB, free: 2.758 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.808, allocations: 0 / 1.568 GB, free: 2.758 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001664/1.808, allocations: 65.55 kB / 1.568 GB, free: 2.691 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.808, allocations: 4 kB / 1.568 GB, free: 2.688 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.808, allocations: 0 / 1.568 GB, free: 2.688 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/1.808, allocations: 0 / 1.568 GB, free: 2.688 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.991e-05/1.808, allocations: 8 kB / 1.568 GB, free: 2.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/1.809, allocations: 0 / 1.568 GB, free: 2.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/1.809, allocations: 7.844 kB / 1.568 GB, free: 2.672 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/1.809, allocations: 3.984 kB / 1.568 GB, free: 2.668 MB / 0.9792 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.657e-05/1.809, allocations: 114.2 kB / 1.568 GB, free: 2.551 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/1.809, allocations: 0 / 1.568 GB, free: 2.551 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/1.809, allocations: 117.3 kB / 1.568 GB, free: 2.43 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.865e-05/1.809, allocations: 176.3 kB / 1.569 GB, free: 2.25 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.481e-05/1.809, allocations: 184.2 kB / 1.569 GB, free: 2.062 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-05/1.809, allocations: 180.3 kB / 1.569 GB, free: 1.879 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/1.809, allocations: 388.2 kB / 1.569 GB, free: 1.457 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-05/1.809, allocations: 108.9 kB / 1.569 GB, free: 1.344 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/1.809, allocations: 101 kB / 1.569 GB, free: 1.238 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-05/1.809, allocations: 176.3 kB / 1.57 GB, free: 1.059 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.898e-05/1.809, allocations: 188.2 kB / 1.57 GB, free: 0.8711 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-05/1.81, allocations: 184.2 kB / 1.57 GB, free: 0.6836 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-05/1.81, allocations: 184.2 kB / 1.57 GB, free: 0.4961 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/1.81, allocations: 299.8 kB / 1.57 GB, free: 184 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/1.81, allocations: 189.5 kB / 1.571 GB, free: 15.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/1.81, allocations: 180.2 kB / 1.571 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/1.81, allocations: 109 kB / 1.571 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/1.81, allocations: 188.2 kB / 1.571 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/1.81, allocations: 101 kB / 1.571 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.352e-05/1.81, allocations: 86.84 kB / 1.571 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.81, allocations: 0 / 1.571 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002679/1.811, allocations: 35.94 kB / 1.571 GB, free: 15.26 MB / 0.9948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002565/1.811, allocations: 233 kB / 1.572 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.447e-05/1.811, allocations: 19.86 kB / 1.572 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.811, allocations: 4.125 kB / 1.572 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/1.811, allocations: 0 / 1.572 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/1.811, allocations: 0.528 MB / 1.572 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001906/1.811, allocations: 119.3 kB / 1.572 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/1.812, allocations: 0.6768 MB / 1.573 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 4.912e-05/1.812, allocations: 14.09 kB / 1.573 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/1.812, allocations: 11.44 kB / 1.573 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of SimCode: time 2.4e-07/1.812, allocations: 0 / 1.573 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of Templates: time 0.003368/1.815, allocations: 1.061 MB / 1.574 GB, free: 12.61 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches