Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001038/0.001038, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008426/0.008426, allocations: 169.6 kB / 16.27 MB, free: 6.66 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.46/1.46, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.797/2.797, allocations: 462.7 MB / 0.7364 GB, free: 324 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 8.812 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3816, allocations: 159.6 MB / 1.059 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00386/0.3855, allocations: 2.991 MB / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001005/0.3857, allocations: 51.86 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.72e-05/0.3857, allocations: 0 / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.3858, allocations: 7.984 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.653e-05/0.3859, allocations: 7.938 kB / 1.062 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005527/0.3865, allocations: 171.3 kB / 1.062 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.3866, allocations: 59.83 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.3866, allocations: 4 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.64e-05/0.3867, allocations: 15.97 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.544e-05/0.3868, allocations: 19.88 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.3868, allocations: 0 / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003475/0.3871, allocations: 175.5 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.3872, allocations: 7.984 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.3872, allocations: 33.64 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.3875, allocations: 136 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3875, allocations: 0 / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.867e-06/0.3875, allocations: 3.984 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3876, allocations: 4 kB / 1.062 GB, free: 1.812 MB / 0.8106 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.0004316/0.388, allocations: 339.5 kB / 1.063 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.388, allocations: 8.031 kB / 1.063 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.3881, allocations: 4.938 kB / 1.063 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3882, allocations: 160.4 kB / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-05/0.3883, allocations: 26.27 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.3883, allocations: 4.375 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.3885, allocations: 49.61 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3885, allocations: 4 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3885, allocations: 0 / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.3885, allocations: 0 / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.213e-05/0.3886, allocations: 23.92 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007129/0.3893, allocations: 0.5793 MB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.559e-05/0.3893, allocations: 18.64 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.3894, allocations: 8.859 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002731/0.3896, allocations: 344.4 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.3897, allocations: 34.55 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3897, allocations: 4 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001607/0.3899, allocations: 37.64 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.3899, allocations: 51.41 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.001e-05/0.39, allocations: 101.8 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.39, allocations: 25.83 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.3901, allocations: 92.05 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-06/0.3901, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.3901, allocations: 13.72 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.3902, allocations: 318.8 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.3902, allocations: 4 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.118e-05/0.3903, allocations: 13.72 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.3903, allocations: 37.58 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3903, allocations: 0 / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.79e-05/0.3904, allocations: 41.7 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3904, allocations: 8 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3904, allocations: 3.938 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3904, allocations: 3.984 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.345e-05/0.3905, allocations: 7.938 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3905, allocations: 4 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.3905, allocations: 7.844 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3905, allocations: 4.062 kB / 1.065 GB, free: 15.08 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 7.628e-05/0.3906, allocations: 113.8 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.3906, allocations: 0 / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.3908, allocations: 125 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.614e-05/0.3908, allocations: 180.2 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.812e-05/0.3909, allocations: 180.3 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-05/0.391, allocations: 184.2 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.3912, allocations: 405.2 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-05/0.3912, allocations: 109 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.3913, allocations: 105 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.898e-05/0.3913, allocations: 180.3 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.728e-05/0.3914, allocations: 184.2 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.386e-05/0.3914, allocations: 180.3 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.726e-05/0.3915, allocations: 188.2 kB / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.3916, allocations: 303.8 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.3917, allocations: 190 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.652e-05/0.3918, allocations: 184.2 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.392, allocations: 108.9 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.392, allocations: 176.3 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.3921, allocations: 109 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.972e-05/0.3921, allocations: 83.28 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3921, allocations: 4 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002678/0.3924, allocations: 32 kB / 1.068 GB, free: 11.61 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.0002588/0.3927, allocations: 253 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.947e-05/0.3927, allocations: 4 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3928, allocations: 4 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.3928, allocations: 0 / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.3932, allocations: 0.5224 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.3935, allocations: 191.9 kB / 1.069 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.3937, allocations: 0.677 MB / 1.069 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.043e-05/0.3938, allocations: 4 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.3938, allocations: 7.438 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3938, allocations: 0 / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of Templates: time 0.003437/0.3973, allocations: 1.203 MB / 1.071 GB, free: 8.73 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches