Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.438/2.438, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 178.4 kB / 0.4902 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 223.2 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009126/0.0009126, allocations: 91 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003977, allocations: 6.75 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3783, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.26/1.638, allocations: 356.8 MB / 1.578 GB, free: 23.03 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003849/1.639, allocations: 82.89 kB / 1.578 GB, free: 22.98 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03813/1.677, allocations: 16.76 MB / 1.594 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.305e-06/1.677, allocations: 0 / 1.594 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.926e-05/1.677, allocations: 4 kB / 1.594 GB, free: 8.891 MB / 0.9167 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.0008845/1.678, allocations: 481.3 kB / 1.595 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.678, allocations: 12.56 kB / 1.595 GB, free: 8.371 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/1.68, allocations: 180.5 kB / 1.595 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/1.68, allocations: 209.9 kB / 1.595 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/1.68, allocations: 15.77 kB / 1.595 GB, free: 7.961 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/1.68, allocations: 14.5 kB / 1.595 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/1.681, allocations: 307.2 kB / 1.595 GB, free: 7.672 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/1.681, allocations: 0 / 1.595 GB, free: 7.672 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/1.681, allocations: 10.94 kB / 1.595 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/1.681, allocations: 4 kB / 1.595 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006671/1.682, allocations: 268.5 kB / 1.596 GB, free: 7.453 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/1.683, allocations: 1.396 MB / 1.597 GB, free: 6.02 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/1.684, allocations: 187.1 kB / 1.597 GB, free: 5.867 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.962e-05/1.684, allocations: 4 kB / 1.597 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/1.684, allocations: 42.12 kB / 1.597 GB, free: 5.816 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 1.873e-06/1.684, allocations: 4 kB / 1.597 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.0007575/1.685, allocations: 240.3 kB / 1.597 GB, free: 5.621 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/1.685, allocations: 51.41 kB / 1.597 GB, free: 5.559 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/1.685, allocations: 153.4 kB / 1.598 GB, free: 5.418 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/1.685, allocations: 33.27 kB / 1.598 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/1.685, allocations: 123.3 kB / 1.598 GB, free: 5.266 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/1.685, allocations: 69.34 kB / 1.598 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/1.685, allocations: 3.438 kB / 1.598 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.803e-05/1.685, allocations: 333.9 kB / 1.598 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/1.685, allocations: 58.61 kB / 1.598 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/1.686, allocations: 143.1 kB / 1.598 GB, free: 4.68 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/1.686, allocations: 74.56 kB / 1.598 GB, free: 4.629 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.686, allocations: 0 / 1.598 GB, free: 4.629 MB / 0.9167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005388/1.686, allocations: 251.5 kB / 1.599 GB, free: 4.426 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/1.687, allocations: 8.938 kB / 1.599 GB, free: 4.418 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/1.687, allocations: 7.938 kB / 1.599 GB, free: 4.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/1.687, allocations: 4 kB / 1.599 GB, free: 4.406 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/1.687, allocations: 63.89 kB / 1.599 GB, free: 4.344 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.687, allocations: 12.27 kB / 1.599 GB, free: 4.332 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/1.687, allocations: 31.17 kB / 1.599 GB, free: 4.305 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/1.687, allocations: 19.8 kB / 1.599 GB, free: 4.289 MB / 0.9167 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 () * Number of clocked 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.0001265/1.687, allocations: 128.8 kB / 1.599 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/1.687, allocations: 15.81 kB / 1.599 GB, free: 4.145 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005839/1.688, allocations: 229.1 kB / 1.599 GB, free: 3.977 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.688, allocations: 4 kB / 1.599 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/1.688, allocations: 4 kB / 1.599 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.688, allocations: 0 / 1.599 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/1.688, allocations: 241.8 kB / 1.599 GB, free: 3.711 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/1.688, allocations: 4 kB / 1.599 GB, free: 3.707 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/1.689, allocations: 43.97 kB / 1.599 GB, free: 3.664 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/1.689, allocations: 4 kB / 1.599 GB, free: 3.66 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/1.689, allocations: 7.672 kB / 1.599 GB, free: 3.656 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.689, allocations: 3.938 kB / 1.599 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.689, allocations: 4 kB / 1.599 GB, free: 3.648 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/1.689, allocations: 298.7 kB / 1.6 GB, free: 3.383 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/1.689, allocations: 108.3 kB / 1.6 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/1.689, allocations: 3.375 kB / 1.6 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/1.69, allocations: 23.98 kB / 1.6 GB, free: 3.238 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/1.69, allocations: 11.36 kB / 1.6 GB, free: 3.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/1.69, allocations: 7.984 kB / 1.6 GB, free: 3.223 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.358e-05/1.69, allocations: 120.2 kB / 1.6 GB, free: 3.117 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/1.69, allocations: 0 / 1.6 GB, free: 3.117 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004251/1.69, allocations: 71.41 kB / 1.6 GB, free: 3.055 MB / 0.9167 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 (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.0002894/1.691, allocations: 143.5 kB / 1.6 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005069/1.691, allocations: 180.3 kB / 1.6 GB, free: 2.766 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.691, allocations: 0 / 1.6 GB, free: 2.766 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/1.691, allocations: 90.19 kB / 1.6 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/1.692, allocations: 60.19 kB / 1.6 GB, free: 2.648 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009361/1.693, allocations: 494.4 kB / 1.601 GB, free: 2.164 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/1.693, allocations: 0.7214 MB / 1.602 GB, free: 1.414 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003712/1.693, allocations: 53.92 kB / 1.602 GB, free: 1.359 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.84e-05/1.693, allocations: 26.8 kB / 1.602 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of SimCode: time 8.32e-07/1.693, allocations: 0 / 1.602 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of Templates: time 0.007864/1.701, allocations: 3.129 MB / 1.605 GB, free: 14.28 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches