Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 194.5 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.834/2.834, allocations: 469.8 MB / 0.742 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001966, allocations: 75.62 kB / 0.908 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3291, allocations: 159.2 MB / 1.063 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005246/0.3344, allocations: 3.339 MB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.961e-05/0.3345, allocations: 55.84 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.3345, allocations: 0 / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.127e-05/0.3346, allocations: 0 / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.869e-05/0.3347, allocations: 15.91 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.3353, allocations: 172.9 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.936e-05/0.3353, allocations: 35.84 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.3354, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.394e-05/0.3354, allocations: 19.98 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.3355, allocations: 15.91 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.3355, allocations: 4 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003363/0.3359, allocations: 171.5 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.3359, allocations: 4 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.336, allocations: 19.92 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.3362, allocations: 132 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3362, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3363, allocations: 3.938 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.3363, allocations: 4 kB / 1.067 GB, free: 10.67 MB / 0.8262 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.0004502/0.3367, allocations: 345.4 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3368, allocations: 8.031 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.3368, allocations: 0.9375 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.337, allocations: 176.2 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.707e-05/0.3371, allocations: 30.25 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.3371, allocations: 384 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.3372, allocations: 45.62 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3373, allocations: 4 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3373, allocations: 3.938 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.3373, allocations: 0 / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.571e-05/0.3374, allocations: 19.92 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009589/0.3383, allocations: 0.5833 MB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.492e-05/0.3384, allocations: 14.58 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.3384, allocations: 12.92 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003066/0.3387, allocations: 340.4 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.3388, allocations: 30.56 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3388, allocations: 0 / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001884/0.339, allocations: 49.62 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.3391, allocations: 51.41 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.3392, allocations: 97.84 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.3392, allocations: 33.7 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.3393, allocations: 84.05 kB / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.532e-06/0.3393, allocations: 0 / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.3393, allocations: 17.62 kB / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.3395, allocations: 318.9 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.3396, allocations: 11.98 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.583e-05/0.3396, allocations: 13.72 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.72e-05/0.3397, allocations: 21.66 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3397, allocations: 4 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.27e-05/0.3398, allocations: 45.69 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3398, allocations: 4.062 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3398, allocations: 4 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.3398, allocations: 4 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.362e-05/0.3399, allocations: 15.86 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3399, allocations: 0 / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.3399, allocations: 4.219 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.34, allocations: 4 kB / 1.07 GB, free: 7.926 MB / 0.8262 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 0.0001209/0.3401, allocations: 109.8 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.3401, allocations: 0 / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.3403, allocations: 134.6 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001079/0.3404, allocations: 184.2 kB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.606e-05/0.3405, allocations: 176.3 kB / 1.07 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.622e-05/0.3406, allocations: 180.2 kB / 1.07 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.3409, allocations: 409.2 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.748e-05/0.341, allocations: 105 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/0.341, allocations: 108.9 kB / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.153e-05/0.3411, allocations: 184.2 kB / 1.071 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.236e-05/0.3412, allocations: 184.4 kB / 1.071 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.853e-05/0.3413, allocations: 180.3 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.674e-05/0.3414, allocations: 180.2 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.3416, allocations: 315.7 kB / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.3417, allocations: 189.9 kB / 1.072 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-05/0.3418, allocations: 176.3 kB / 1.072 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.342, allocations: 109 kB / 1.072 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.411e-05/0.3421, allocations: 188.2 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.3422, allocations: 101 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.656e-05/0.3422, allocations: 87.27 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3422, allocations: 4 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003149/0.3425, allocations: 32 kB / 1.073 GB, free: 4.445 MB / 0.8262 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.0003347/0.3429, allocations: 234.4 kB / 1.073 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.141e-05/0.343, allocations: 11.94 kB / 1.073 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.343, allocations: 0 / 1.073 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.467e-06/0.343, allocations: 0 / 1.073 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.3435, allocations: 473.3 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.3439, allocations: 181.8 kB / 1.074 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.3442, allocations: 0.6729 MB / 1.074 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.57e-05/0.3442, allocations: 10.25 kB / 1.074 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.3443, allocations: 15.42 kB / 1.074 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3443, allocations: 0 / 1.074 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of Templates: time 0.003918/0.3482, allocations: 1.203 MB / 1.076 GB, free: 1.641 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches