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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001022/0.001022, allocations: 98.88 kB / 16.02 MB, free: 76 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.001474/0.001474, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.672/2.672, allocations: 462.7 MB / 0.7371 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.000313, allocations: 10.94 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.273, allocations: 159.6 MB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003744/0.2768, allocations: 3.002 MB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.186e-05/0.2769, allocations: 47.86 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.542e-05/0.2769, allocations: 0 / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.166e-05/0.277, allocations: 4 kB / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.903e-05/0.2771, allocations: 7.922 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.2776, allocations: 175.3 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.257e-05/0.2777, allocations: 59.83 kB / 1.063 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.044e-05/0.2778, allocations: 0 / 1.063 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.727e-05/0.2778, allocations: 19.91 kB / 1.063 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.558e-05/0.2779, allocations: 11.94 kB / 1.063 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.2779, allocations: 0 / 1.063 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.2782, allocations: 175.5 kB / 1.063 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.2783, allocations: 11.98 kB / 1.063 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.2783, allocations: 37.64 kB / 1.063 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.2785, allocations: 92.09 kB / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2785, allocations: 0 / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2785, allocations: 0 / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2786, allocations: 0 / 1.063 GB, free: 1.355 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.0003403/0.2789, allocations: 339.5 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2789, allocations: 15.97 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.279, allocations: 0.9375 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.639e-05/0.2791, allocations: 160.4 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.588e-05/0.2792, allocations: 34.27 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-06/0.2792, allocations: 384 / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.2793, allocations: 53.55 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.2793, allocations: 0 / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.2793, allocations: 0 / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.2793, allocations: 4 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.337e-05/0.2794, allocations: 11.98 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.28, allocations: 0.5871 MB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.65e-05/0.2801, allocations: 18.58 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.2801, allocations: 8.797 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/0.2803, allocations: 352.4 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.2804, allocations: 30.56 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.2804, allocations: 0 / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.2805, allocations: 33.78 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.2805, allocations: 59.44 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.06e-05/0.2806, allocations: 97.86 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2806, allocations: 25.7 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.2807, allocations: 92.03 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-06/0.2807, allocations: 0 / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/0.2807, allocations: 13.72 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.2808, allocations: 314.8 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.2808, allocations: 7.938 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.2809, allocations: 25.89 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.831e-05/0.2809, allocations: 13.72 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2809, allocations: 0 / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.653e-05/0.281, allocations: 53.62 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.281, allocations: 4 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.281, allocations: 4.094 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.2811, allocations: 11.98 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.28e-05/0.2811, allocations: 8 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.2811, allocations: 0 / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.2812, allocations: 7.844 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.2812, allocations: 4 kB / 1.065 GB, free: 14.61 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 6.894e-05/0.2812, allocations: 121.8 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.2813, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.2814, allocations: 123.4 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.742e-05/0.2814, allocations: 176.3 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-05/0.2815, allocations: 192.2 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-05/0.2816, allocations: 176.3 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.2818, allocations: 405.2 kB / 1.066 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.183e-05/0.2818, allocations: 104.9 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.2819, allocations: 109 kB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-05/0.2819, allocations: 180.2 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.282, allocations: 180.3 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.744e-05/0.282, allocations: 188.1 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.582e-05/0.2821, allocations: 176.5 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.2822, allocations: 315.7 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.2823, allocations: 186.1 kB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.449e-05/0.2824, allocations: 180.2 kB / 1.068 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.2826, allocations: 113 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.2826, allocations: 184.3 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/0.2827, allocations: 104.9 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.201e-05/0.2827, allocations: 87.28 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2827, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002759/0.283, allocations: 31.98 kB / 1.068 GB, free: 11.14 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.0002469/0.2833, allocations: 234.4 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.775e-05/0.2833, allocations: 12 kB / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2833, allocations: 0 / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.946e-06/0.2834, allocations: 3.938 kB / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.2838, allocations: 0.5264 MB / 1.069 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/0.284, allocations: 213.5 kB / 1.069 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.2843, allocations: 0.6731 MB / 1.07 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.2843, allocations: 11.44 kB / 1.07 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.2843, allocations: 7.938 kB / 1.07 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of Templates: time 0.002567/0.2869, allocations: 1.189 MB / 1.071 GB, free: 8.211 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/jenkins1/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