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.0009937/0.0009937, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001423/0.001423, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.967/2.967, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.000355, allocations: 13.39 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4249/0.4253, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003893/0.4292, allocations: 2.883 MB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001091/0.4294, allocations: 59.88 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/0.4294, allocations: 0 / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.4295, allocations: 3.938 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.373e-05/0.4296, allocations: 11.92 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.4301, allocations: 139.5 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.391e-05/0.4302, allocations: 43.83 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.4303, allocations: 3.938 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.212e-05/0.4303, allocations: 27.91 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.238e-05/0.4304, allocations: 4 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.4305, allocations: 7.938 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.4307, allocations: 83.73 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.4308, allocations: 15.92 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.4308, allocations: 25.7 kB / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.431, allocations: 64.16 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.431, allocations: 4 kB / 1.061 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.064e-06/0.431, allocations: 0 / 1.061 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.431, allocations: 0 / 1.061 GB, free: 1.938 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.0004388/0.4315, allocations: 335.4 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.4315, allocations: 8.031 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.4316, allocations: 4 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.4317, allocations: 171 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.364e-05/0.4318, allocations: 25.7 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.4318, allocations: 8 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.4319, allocations: 37.69 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.432, allocations: 3.938 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.432, allocations: 0 / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.432, allocations: 0 / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.166e-05/0.4321, allocations: 19.98 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007477/0.4328, allocations: 0.5871 MB / 1.062 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.263e-05/0.4329, allocations: 26.58 kB / 1.062 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.4329, allocations: 4.859 kB / 1.062 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.4331, allocations: 336.5 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.4332, allocations: 42.48 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.4332, allocations: 0 / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001689/0.4334, allocations: 33.7 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.4334, allocations: 51.53 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.4335, allocations: 109.8 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.4335, allocations: 25.7 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.4336, allocations: 84.05 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.031e-06/0.4336, allocations: 0 / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-06/0.4336, allocations: 0 / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.4337, allocations: 322.8 kB / 1.063 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.4338, allocations: 3.984 kB / 1.063 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.53e-05/0.4338, allocations: 17.84 kB / 1.063 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.078e-05/0.4338, allocations: 8 kB / 1.063 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4338, allocations: 0 / 1.063 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.05e-05/0.4339, allocations: 49.69 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.4339, allocations: 4 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.4339, allocations: 0 / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.434, allocations: 96 / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.876e-05/0.434, allocations: 7.938 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.434, allocations: 7.938 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.4341, allocations: 15.89 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.4341, allocations: 3.984 kB / 1.064 GB, free: 15.24 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.597e-05/0.4341, allocations: 117.8 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.4342, allocations: 0 / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.4343, allocations: 113 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.929e-05/0.4344, allocations: 188.2 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.637e-05/0.4345, allocations: 184.3 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.694e-05/0.4345, allocations: 184.2 kB / 1.064 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.4348, allocations: 413.1 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.611e-05/0.4348, allocations: 101 kB / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.4349, allocations: 104.9 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.745e-05/0.4349, allocations: 180.3 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.009e-05/0.435, allocations: 192.2 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.649e-05/0.4351, allocations: 176.3 kB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.677e-05/0.4351, allocations: 176.3 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.4353, allocations: 315.7 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.814e-05/0.4354, allocations: 186 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/0.4355, allocations: 180.3 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.4356, allocations: 109.2 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.4357, allocations: 180.2 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.4357, allocations: 105 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.4358, allocations: 95.27 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4358, allocations: 0 / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002624/0.4361, allocations: 24 kB / 1.067 GB, free: 11.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002867/0.4364, allocations: 233.2 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.02e-05/0.4365, allocations: 11.94 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4365, allocations: 4 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.4365, allocations: 0 / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.437, allocations: 0.5205 MB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.4373, allocations: 207.7 kB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.4376, allocations: 0.677 MB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.397e-05/0.4376, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.4376, allocations: 7.438 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.4376, allocations: 4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of Templates: time 0.004062/0.4417, allocations: 1.127 MB / 1.069 GB, free: 8.965 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