Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001594/0.001594, allocations: 104.6 kB / 16.41 MB, free: 6.512 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.001715/0.001716, allocations: 187 kB / 17.34 MB, free: 5.742 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002473/0.002473, allocations: 63.89 kB / 0.9515 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8799/0.8824, allocations: 140.4 MB / 1.089 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004541/0.887, allocations: 3.274 MB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 9.719e-05/0.8871, allocations: 55.58 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.8871, allocations: 0 / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.8873, allocations: 10.31 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.532e-05/0.8874, allocations: 20.02 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.8879, allocations: 186.8 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.956e-05/0.888, allocations: 29.7 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.888, allocations: 2.422 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.385e-05/0.8881, allocations: 24.12 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.8882, allocations: 10.84 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.8882, allocations: 1.281 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000334/0.8885, allocations: 171.1 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.8886, allocations: 8.609 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.8886, allocations: 13.84 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.8889, allocations: 129.1 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.8889, allocations: 9 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8889, allocations: 0 / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.8889, allocations: 0.8906 kB / 1.092 GB, free: 2.871 MB / 0.8575 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.0003166/0.8893, allocations: 342.9 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.8893, allocations: 8.906 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.8893, allocations: 3.516 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.69e-05/0.8894, allocations: 169.9 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.433e-05/0.8895, allocations: 28.36 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.8895, allocations: 2 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.8896, allocations: 55.62 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.8896, allocations: 0 / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.8897, allocations: 0.8125 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.8897, allocations: 1.562 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.12e-05/0.8897, allocations: 16.25 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.8902, allocations: 0.5845 MB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.007e-05/0.8903, allocations: 21.5 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.25e-05/0.8903, allocations: 10.14 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.8905, allocations: 339 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.8905, allocations: 32.22 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.8905, allocations: 0.75 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.000135/0.8906, allocations: 41.11 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.8907, allocations: 52.73 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.492e-05/0.8907, allocations: 107.1 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.8907, allocations: 29.7 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.8908, allocations: 90.28 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.8908, allocations: 0.8438 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.8908, allocations: 14.73 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.8909, allocations: 321 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.8909, allocations: 3.562 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.147e-05/0.8909, allocations: 19.47 kB / 1.095 GB, free: 432 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.891, allocations: 29.14 kB / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.891, allocations: 0 / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.811e-05/0.891, allocations: 49.89 kB / 1.095 GB, free: 364 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.8911, allocations: 5.469 kB / 1.095 GB, free: 364 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.8911, allocations: 1.344 kB / 1.095 GB, free: 364 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.8911, allocations: 0.7969 kB / 1.095 GB, free: 364 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.684e-05/0.8911, allocations: 5.891 kB / 1.095 GB, free: 364 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.8911, allocations: 8.938 kB / 1.095 GB, free: 356 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.8912, allocations: 0.9375 kB / 1.095 GB, free: 356 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.8912, allocations: 2.672 kB / 1.095 GB, free: 356 kB / 0.8575 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 4.717e-05/0.8912, allocations: 112.5 kB / 1.095 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.8913, allocations: 1.547 kB / 1.095 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.113e-05/0.8914, allocations: 118.3 kB / 1.095 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.767e-05/0.8914, allocations: 186.4 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.6e-05/0.8915, allocations: 182 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.117e-05/0.8916, allocations: 177.9 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.8918, allocations: 411.9 kB / 1.096 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-05/0.8918, allocations: 102.6 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-05/0.8919, allocations: 110.6 kB / 1.096 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.516e-05/0.892, allocations: 181.8 kB / 1.096 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/0.892, allocations: 185.8 kB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.927e-05/0.8921, allocations: 181.9 kB / 1.097 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.883e-05/0.8922, allocations: 178.4 kB / 1.097 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.8923, allocations: 314.2 kB / 1.097 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.8924, allocations: 188.2 kB / 1.097 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.418e-05/0.8925, allocations: 178.5 kB / 1.097 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.8926, allocations: 106.6 kB / 1.098 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.8927, allocations: 182 kB / 1.098 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.8928, allocations: 110.8 kB / 1.098 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.8928, allocations: 85.75 kB / 1.098 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8928, allocations: 3.938 kB / 1.098 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003038/0.8931, allocations: 37.47 kB / 1.098 GB, free: 12.95 MB / 0.8731 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.0003195/0.8934, allocations: 233.3 kB / 1.098 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.662e-05/0.8935, allocations: 11.78 kB / 1.098 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8935, allocations: 0.8125 kB / 1.098 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.8935, allocations: 0.6562 kB / 1.098 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.894, allocations: 468.3 kB / 1.099 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.8943, allocations: 217.6 kB / 1.099 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.8945, allocations: 0.6738 MB / 1.099 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.8946, allocations: 9.5 kB / 1.1 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.8946, allocations: 4.719 kB / 1.1 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of Templates: time 0.003164/0.8978, allocations: 1.19 MB / 1.101 GB, free: 11.21 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches