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.005843/0.005843, allocations: 100.8 kB / 15.73 MB, free: 5.531 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.001208/0.001208, allocations: 193.9 kB / 16.67 MB, free: 5.457 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.675/2.675, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 67.88 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9428/0.9449, allocations: 159.1 MB / 1.221 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005465/0.9504, allocations: 3.286 MB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001194/0.9505, allocations: 55.8 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.9506, allocations: 0 / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.9507, allocations: 4 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.514e-05/0.9508, allocations: 15.91 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006957/0.9515, allocations: 184.4 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.9516, allocations: 39.84 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.9516, allocations: 0 / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.403e-05/0.9517, allocations: 15.92 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/0.9518, allocations: 19.97 kB / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.9518, allocations: 0 / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000407/0.9522, allocations: 171.6 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.9522, allocations: 11.92 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.9523, allocations: 7.984 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.9526, allocations: 135.2 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.9526, allocations: 4 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9526, allocations: 0 / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.9526, allocations: 0 / 1.224 GB, free: 14.19 MB / 0.9512 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.0004673/0.9531, allocations: 348.3 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.9531, allocations: 8.031 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.9532, allocations: 0.9375 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.9533, allocations: 172.3 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.181e-05/0.9534, allocations: 30.2 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.9534, allocations: 384 / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.9536, allocations: 49.62 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.9536, allocations: 0 / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.9536, allocations: 3.984 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.9536, allocations: 3.984 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.175e-05/0.9537, allocations: 15.94 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00087/0.9546, allocations: 0.591 MB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.424e-05/0.9546, allocations: 18.56 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.9546, allocations: 8.922 kB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002912/0.9549, allocations: 344.3 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.955, allocations: 30.56 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.623e-06/0.955, allocations: 0 / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001904/0.9552, allocations: 41.64 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.9552, allocations: 55.39 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.9553, allocations: 101.9 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.9553, allocations: 25.7 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.9554, allocations: 88.09 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.011e-05/0.9554, allocations: 7.938 kB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.9555, allocations: 13.72 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.9556, allocations: 318.9 kB / 1.227 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.9557, allocations: 8 kB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.9557, allocations: 17.7 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.627e-05/0.9558, allocations: 25.66 kB / 1.227 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9558, allocations: 0 / 1.227 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.306e-05/0.9559, allocations: 45.69 kB / 1.227 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.9559, allocations: 12 kB / 1.227 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.9559, allocations: 3.984 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.9559, allocations: 4 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.924e-05/0.956, allocations: 4 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.956, allocations: 0 / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.956, allocations: 0 / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.956, allocations: 4 kB / 1.227 GB, free: 11.44 MB / 0.9512 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.0001077/0.9561, allocations: 114.3 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.9562, allocations: 4 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.9564, allocations: 117 kB / 1.227 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.59e-05/0.9565, allocations: 188.2 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000101/0.9566, allocations: 180.3 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.974e-05/0.9567, allocations: 180.2 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.957, allocations: 413.2 kB / 1.228 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.915e-05/0.9571, allocations: 108.9 kB / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.9571, allocations: 105 kB / 1.228 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/0.9573, allocations: 184.2 kB / 1.228 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.9574, allocations: 184.3 kB / 1.228 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.89e-05/0.9575, allocations: 180.3 kB / 1.229 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.256e-05/0.9576, allocations: 188.2 kB / 1.229 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.9577, allocations: 307.7 kB / 1.229 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.9578, allocations: 190 kB / 1.229 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/0.9579, allocations: 176.3 kB / 1.229 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.9581, allocations: 108.9 kB / 1.23 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.9581, allocations: 184.2 kB / 1.23 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.9582, allocations: 101 kB / 1.23 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.9582, allocations: 87.28 kB / 1.23 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.9582, allocations: 0 / 1.23 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003517/0.9586, allocations: 35.86 kB / 1.23 GB, free: 7.957 MB / 0.9512 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.000328/0.9589, allocations: 249.1 kB / 1.23 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.602e-05/0.959, allocations: 8 kB / 1.23 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.959, allocations: 0 / 1.23 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.959, allocations: 0 / 1.23 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.9595, allocations: 477.7 kB / 1.231 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.9598, allocations: 181.8 kB / 1.231 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.96, allocations: 0.6806 MB / 1.231 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.604e-05/0.9601, allocations: 8 kB / 1.231 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.9601, allocations: 7.438 kB / 1.231 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of SimCode: time 9.61e-07/0.9601, allocations: 0 / 1.231 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of Templates: time 0.004204/0.9643, allocations: 1.213 MB / 1.233 GB, free: 5.137 MB / 0.9512 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=480 -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