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.001666/0.001666, allocations: 106 kB / 15.99 MB, free: 6.355 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.001878/0.001878, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.67/2.67, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 74.23 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3427, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005184/0.348, allocations: 3.334 MB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001077/0.3481, allocations: 59.84 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.3481, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.887e-05/0.3482, allocations: 3.938 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.235e-05/0.3483, allocations: 11.97 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005172/0.3489, allocations: 166.2 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.821e-05/0.3489, allocations: 39.84 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.205e-05/0.349, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.83e-05/0.349, allocations: 19.98 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.984e-05/0.3491, allocations: 15.92 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.3491, allocations: 4 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.3495, allocations: 175.5 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.69e-05/0.3495, allocations: 3.984 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.3495, allocations: 15.92 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.3497, allocations: 88.11 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3497, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3497, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3498, allocations: 4 kB / 1.068 GB, free: 11.18 MB / 0.8419 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.0004426/0.3502, allocations: 347.5 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.3502, allocations: 8.031 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.3503, allocations: 0.9375 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.3504, allocations: 172.3 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/0.3505, allocations: 26.27 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.3505, allocations: 4.359 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.3506, allocations: 49.56 kB / 1.069 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3507, allocations: 0 / 1.069 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3507, allocations: 8 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.3507, allocations: 3.984 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.402e-05/0.3507, allocations: 11.98 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007038/0.3515, allocations: 0.5872 MB / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.648e-05/0.3515, allocations: 14.58 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.3515, allocations: 12.92 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/0.3518, allocations: 348.3 kB / 1.07 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.3519, allocations: 38.55 kB / 1.07 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3519, allocations: 0 / 1.07 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001519/0.352, allocations: 33.7 kB / 1.07 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3521, allocations: 51.41 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.139e-05/0.3522, allocations: 101.8 kB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.3522, allocations: 29.7 kB / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.3523, allocations: 84.17 kB / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-06/0.3523, allocations: 4 kB / 1.07 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.3523, allocations: 25.56 kB / 1.07 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3525, allocations: 318.8 kB / 1.07 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.3525, allocations: 7.938 kB / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.3525, allocations: 17.72 kB / 1.07 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.85e-05/0.3526, allocations: 21.7 kB / 1.07 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3526, allocations: 4 kB / 1.07 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.36e-05/0.3526, allocations: 45.64 kB / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3527, allocations: 4 kB / 1.07 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.3527, allocations: 0 / 1.07 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3527, allocations: 7.984 kB / 1.07 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.116e-05/0.3527, allocations: 4 kB / 1.07 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.3528, allocations: 0 / 1.07 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/0.3528, allocations: 3.938 kB / 1.07 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.3528, allocations: 4.062 kB / 1.07 GB, free: 8.43 MB / 0.8419 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 8.076e-05/0.3529, allocations: 117.8 kB / 1.07 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.3529, allocations: 4 kB / 1.07 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.353, allocations: 122.7 kB / 1.071 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.237e-05/0.3531, allocations: 180.3 kB / 1.071 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.936e-05/0.3532, allocations: 184.2 kB / 1.071 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-05/0.3533, allocations: 180.3 kB / 1.071 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.3536, allocations: 405.2 kB / 1.071 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.598e-05/0.3536, allocations: 112.9 kB / 1.072 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.3537, allocations: 101 kB / 1.072 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.682e-05/0.3538, allocations: 184.2 kB / 1.072 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-05/0.3539, allocations: 184.2 kB / 1.072 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.335e-05/0.3539, allocations: 176.3 kB / 1.072 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-05/0.354, allocations: 180.2 kB / 1.072 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.3542, allocations: 315.9 kB / 1.073 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.874e-05/0.3543, allocations: 186 kB / 1.073 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.3544, allocations: 188.2 kB / 1.073 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.3546, allocations: 109 kB / 1.073 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.3547, allocations: 180.3 kB / 1.073 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-05/0.3548, allocations: 104.9 kB / 1.073 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.479e-05/0.3548, allocations: 87.27 kB / 1.073 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3548, allocations: 0 / 1.073 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002882/0.3551, allocations: 36 kB / 1.073 GB, free: 4.945 MB / 0.8419 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.0002763/0.3554, allocations: 226.6 kB / 1.074 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.199e-05/0.3555, allocations: 19.98 kB / 1.074 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3555, allocations: 0 / 1.074 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-06/0.3555, allocations: 3.938 kB / 1.074 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.356, allocations: 459.7 kB / 1.074 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.3563, allocations: 221.5 kB / 1.074 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.3566, allocations: 0.669 MB / 1.075 GB, free: 3.289 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.3566, allocations: 15.42 kB / 1.075 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3566, allocations: 0 / 1.075 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of Templates: time 0.003017/0.3596, allocations: 1.189 MB / 1.076 GB, free: 2.098 MB / 0.8419 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/jenkins1/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