Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001581/0.001581, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001855/0.001854, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 437 MB / 0.7103 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 67.89 kB / 0.8692 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6827/0.6841, allocations: 151.6 MB / 1.017 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005019/0.6892, allocations: 3.287 MB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001235/0.6893, allocations: 55.78 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.6894, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.6895, allocations: 7.938 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.834e-05/0.6896, allocations: 11.92 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007048/0.6903, allocations: 183.3 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.981e-05/0.6904, allocations: 35.86 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.6905, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.759e-05/0.6905, allocations: 19.97 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.429e-05/0.6906, allocations: 7.938 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.6906, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004013/0.691, allocations: 171.5 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.6911, allocations: 8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.6911, allocations: 15.98 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.6915, allocations: 141.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6915, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6915, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.6915, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 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.0004486/0.692, allocations: 347.4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.692, allocations: 8.031 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.6921, allocations: 4.938 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.6922, allocations: 164.4 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.6923, allocations: 30.27 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.6923, allocations: 4.375 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.6924, allocations: 49.56 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.6924, allocations: 3.938 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.6925, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.6925, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.363e-05/0.6925, allocations: 15.98 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.6932, allocations: 0.5871 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.629e-05/0.6933, allocations: 22.52 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.498e-05/0.6933, allocations: 4.859 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/0.6935, allocations: 340.5 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.6936, allocations: 38.55 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.6936, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001443/0.6937, allocations: 29.7 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.6938, allocations: 55.53 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.022e-05/0.6939, allocations: 117.7 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.6939, allocations: 29.64 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.6939, allocations: 84.05 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-06/0.6939, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.694, allocations: 17.72 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.6941, allocations: 322.8 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.6941, allocations: 0 / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.663e-05/0.6941, allocations: 21.72 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.6942, allocations: 21.7 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6942, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.165e-05/0.6943, allocations: 49.64 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.6943, allocations: 4 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.6943, allocations: 4 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.6943, allocations: 8.047 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.427e-05/0.6944, allocations: 4 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.6944, allocations: 0 / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.6944, allocations: 7.906 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.6944, allocations: 0 / 1.023 GB, free: 11.87 MB / 0.7794 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.845e-05/0.6945, allocations: 120.6 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.6945, allocations: 4 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.748e-05/0.6946, allocations: 124.9 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.396e-05/0.6947, allocations: 180.3 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.132e-05/0.6947, allocations: 180.2 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.294e-05/0.6948, allocations: 176.3 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.695, allocations: 417.1 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-05/0.695, allocations: 105 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.6951, allocations: 109 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.733e-05/0.6951, allocations: 180.2 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.6952, allocations: 176.3 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.712e-05/0.6953, allocations: 180.2 kB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.493e-05/0.6953, allocations: 180.5 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.6955, allocations: 319.7 kB / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.289e-05/0.6956, allocations: 178.1 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.44e-05/0.6957, allocations: 180.2 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.6959, allocations: 113 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.6959, allocations: 184.2 kB / 1.026 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.696, allocations: 105 kB / 1.026 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.675e-05/0.696, allocations: 83.27 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.696, allocations: 0 / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003046/0.6963, allocations: 39.94 kB / 1.027 GB, free: 8.391 MB / 0.7794 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.0003064/0.6967, allocations: 233.4 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.416e-05/0.6968, allocations: 15.92 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6968, allocations: 3.938 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.6968, allocations: 0 / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.6972, allocations: 463.8 kB / 1.027 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.6974, allocations: 189.7 kB / 1.027 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.6976, allocations: 0.6729 MB / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.4e-05/0.6977, allocations: 15.92 kB / 1.028 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.6977, allocations: 7.438 kB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6977, allocations: 0 / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of Templates: time 0.003456/0.7011, allocations: 1.207 MB / 1.029 GB, free: 5.586 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches