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.54/1.54, allocations: 249.3 MB / 261.8 MB, free: 5.855 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.001087/0.001087, allocations: 184.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.0008829/0.0008829, allocations: 102.4 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.353e-05/3.357e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2448, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9397/1.185, allocations: 339.8 MB / 1.224 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/1.185, allocations: 77.11 kB / 1.224 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.05279/1.238, allocations: 16.26 MB / 1.24 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.194e-06/1.238, allocations: 0 / 1.24 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.003e-05/1.238, allocations: 4 kB / 1.24 GB, free: 11.2 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.001031/1.239, allocations: 470.7 kB / 1.24 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/1.239, allocations: 12.03 kB / 1.24 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002952/1.242, allocations: 171.6 kB / 1.24 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/1.242, allocations: 214.7 kB / 1.24 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/1.242, allocations: 8.328 kB / 1.24 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-05/1.242, allocations: 16 kB / 1.24 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006871/1.243, allocations: 277.5 kB / 1.241 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/1.243, allocations: 8 kB / 1.241 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/1.243, allocations: 11.92 kB / 1.241 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/1.243, allocations: 8 kB / 1.241 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006593/1.244, allocations: 219.7 kB / 1.241 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/1.246, allocations: 1.385 MB / 1.242 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/1.247, allocations: 146.5 kB / 1.242 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/1.247, allocations: 68.84 kB / 1.242 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/1.247, allocations: 3.984 kB / 1.242 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/1.247, allocations: 42.5 kB / 1.242 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.354e-06/1.247, allocations: 0 / 1.242 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.000557/1.248, allocations: 151.2 kB / 1.243 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/1.248, allocations: 59.36 kB / 1.243 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/1.248, allocations: 149.9 kB / 1.243 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.436e-05/1.248, allocations: 33.7 kB / 1.243 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/1.248, allocations: 124 kB / 1.243 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/1.248, allocations: 59.11 kB / 1.243 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/1.248, allocations: 4 kB / 1.243 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.248, allocations: 330.8 kB / 1.243 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/1.248, allocations: 48.47 kB / 1.243 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/1.249, allocations: 128 kB / 1.244 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/1.249, allocations: 68.67 kB / 1.244 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.249, allocations: 0 / 1.244 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005843/1.25, allocations: 215 kB / 1.244 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/1.25, allocations: 8 kB / 1.244 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.25, allocations: 320 / 1.244 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/1.25, allocations: 8 kB / 1.244 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/1.25, allocations: 67.89 kB / 1.244 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/1.25, allocations: 7.938 kB / 1.244 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/1.251, allocations: 43.61 kB / 1.244 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/1.251, allocations: 15.98 kB / 1.244 GB, free: 6.352 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.0001242/1.251, allocations: 112.9 kB / 1.244 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-05/1.251, allocations: 19.81 kB / 1.244 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006092/1.251, allocations: 194.3 kB / 1.244 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/1.251, allocations: 4 kB / 1.244 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/1.251, allocations: 4 kB / 1.244 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/1.251, allocations: 0 / 1.244 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/1.252, allocations: 241.4 kB / 1.244 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/1.252, allocations: 4 kB / 1.244 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/1.252, allocations: 55.89 kB / 1.245 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.252, allocations: 0 / 1.245 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/1.252, allocations: 4 kB / 1.245 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/1.252, allocations: 0 / 1.245 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.252, allocations: 0 / 1.245 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/1.253, allocations: 276.4 kB / 1.245 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/1.253, allocations: 100.9 kB / 1.245 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/1.253, allocations: 4 kB / 1.245 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/1.253, allocations: 15.98 kB / 1.245 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/1.253, allocations: 15.92 kB / 1.245 GB, free: 5.227 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/1.253, allocations: 11.98 kB / 1.245 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001036/1.254, allocations: 115.2 kB / 1.245 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2e-07/1.254, allocations: 7.938 kB / 1.245 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004367/1.254, allocations: 60.12 kB / 1.245 GB, free: 5.035 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.0002803/1.254, allocations: 133 kB / 1.245 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003553/1.255, allocations: 151.7 kB / 1.245 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.255, allocations: 4 kB / 1.245 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/1.255, allocations: 74.5 kB / 1.245 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/1.255, allocations: 56.52 kB / 1.246 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007955/1.256, allocations: 210 kB / 1.246 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/1.256, allocations: 0.7213 MB / 1.246 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004032/1.257, allocations: 54.03 kB / 1.246 GB, free: 3.594 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/1.257, allocations: 27.42 kB / 1.247 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of SimCode: time 3.01e-07/1.257, allocations: 0 / 1.247 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of Templates: time 0.007405/1.264, allocations: 3.058 MB / 1.249 GB, free: 0.5273 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