Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.486/1.486, allocations: 249.5 MB / 257 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001256/0.001256, allocations: 180.8 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.3 MB / 0.5671 GB, free: 15.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008983/0.0008983, allocations: 82.48 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.818e-05/1.828e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2413, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9221/1.163, allocations: 340 MB / 1.217 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/1.164, allocations: 80.02 kB / 1.217 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.04045/1.204, allocations: 16.18 MB / 1.233 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.232e-06/1.204, allocations: 0 / 1.233 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.575e-05/1.204, allocations: 4 kB / 1.233 GB, free: 15.62 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008323/1.205, allocations: 467.5 kB / 1.234 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.205, allocations: 12.03 kB / 1.234 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/1.207, allocations: 170 kB / 1.234 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/1.207, allocations: 217.3 kB / 1.234 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/1.207, allocations: 4 kB / 1.234 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/1.207, allocations: 15.98 kB / 1.234 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004072/1.208, allocations: 201.1 kB / 1.234 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/1.208, allocations: 225.6 kB / 1.234 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/1.208, allocations: 7.938 kB / 1.234 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/1.208, allocations: 0 / 1.234 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/1.208, allocations: 8 kB / 1.234 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/1.21, allocations: 1.34 MB / 1.236 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/1.21, allocations: 147.3 kB / 1.236 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.906e-05/1.21, allocations: 53.73 kB / 1.236 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/1.21, allocations: 320 / 1.236 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/1.21, allocations: 38.06 kB / 1.236 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/1.21, allocations: 7.938 kB / 1.236 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0003281/1.211, allocations: 143.3 kB / 1.236 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/1.211, allocations: 55.41 kB / 1.236 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/1.211, allocations: 121.1 kB / 1.236 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/1.211, allocations: 25.7 kB / 1.236 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/1.211, allocations: 134.9 kB / 1.236 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/1.211, allocations: 57.98 kB / 1.236 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/1.211, allocations: 0 / 1.236 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.211, allocations: 333.4 kB / 1.237 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.651e-05/1.211, allocations: 41.03 kB / 1.237 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/1.212, allocations: 124.5 kB / 1.237 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.65e-05/1.212, allocations: 58.28 kB / 1.237 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.212, allocations: 0 / 1.237 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003065/1.212, allocations: 197.6 kB / 1.237 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.212, allocations: 8 kB / 1.237 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.212, allocations: 0 / 1.237 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.212, allocations: 4 kB / 1.237 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/1.212, allocations: 71.83 kB / 1.237 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.212, allocations: 4 kB / 1.237 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/1.213, allocations: 31.98 kB / 1.237 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/1.213, allocations: 11.98 kB / 1.237 GB, free: 11.41 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 0.0001214/1.213, allocations: 111.1 kB / 1.237 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/1.213, allocations: 11.91 kB / 1.237 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/1.213, allocations: 185.8 kB / 1.238 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/1.213, allocations: 4 kB / 1.238 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.213, allocations: 3.938 kB / 1.238 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/1.213, allocations: 4 kB / 1.238 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/1.214, allocations: 212.4 kB / 1.238 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.214, allocations: 0 / 1.238 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/1.214, allocations: 55.95 kB / 1.238 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/1.214, allocations: 0 / 1.238 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/1.214, allocations: 4 kB / 1.238 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.214, allocations: 0 / 1.238 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.214, allocations: 0 / 1.238 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/1.214, allocations: 259.9 kB / 1.238 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.214, allocations: 104 kB / 1.238 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/1.214, allocations: 7.984 kB / 1.238 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/1.215, allocations: 11.98 kB / 1.238 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/1.215, allocations: 11.98 kB / 1.238 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/1.215, allocations: 7.125 kB / 1.238 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.306e-05/1.215, allocations: 102.7 kB / 1.238 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.215, allocations: 0 / 1.238 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003831/1.215, allocations: 59.84 kB / 1.238 GB, free: 10.3 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002162/1.215, allocations: 127.3 kB / 1.239 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000267/1.216, allocations: 134.9 kB / 1.239 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.216, allocations: 4.562 kB / 1.239 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.653e-05/1.216, allocations: 72.17 kB / 1.239 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/1.216, allocations: 31.41 kB / 1.239 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/1.217, allocations: 194.1 kB / 1.239 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/1.217, allocations: 0.721 MB / 1.24 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003399/1.217, allocations: 53.81 kB / 1.24 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.69e-05/1.218, allocations: 22.81 kB / 1.24 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of SimCode: time 2.51e-07/1.218, allocations: 0 / 1.24 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of Templates: time 0.005774/1.223, allocations: 2.63 MB / 1.242 GB, free: 6.367 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches