Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001272/0.001271, allocations: 177.8 kB / 498.1 MB, free: 5.762 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.549/1.549, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.000917/0.0009171, allocations: 92.39 kB / 0.9346 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003855, allocations: 10.91 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2974, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.458, allocations: 356 MB / 1.571 GB, free: 38.83 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/1.458, allocations: 85.78 kB / 1.571 GB, free: 38.78 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03751/1.496, allocations: 16.76 MB / 1.587 GB, free: 24.67 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.725e-06/1.496, allocations: 4 kB / 1.587 GB, free: 24.66 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.996e-05/1.496, allocations: 4 kB / 1.587 GB, free: 24.66 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.0009651/1.497, allocations: 493.6 kB / 1.587 GB, free: 24.14 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.497, allocations: 8.031 kB / 1.587 GB, free: 24.13 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/1.499, allocations: 177.6 kB / 1.588 GB, free: 23.97 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/1.499, allocations: 214 kB / 1.588 GB, free: 23.73 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/1.499, allocations: 11.7 kB / 1.588 GB, free: 23.73 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/1.499, allocations: 15.5 kB / 1.588 GB, free: 23.71 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/1.5, allocations: 301.9 kB / 1.588 GB, free: 23.44 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/1.5, allocations: 4 kB / 1.588 GB, free: 23.44 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/1.5, allocations: 11.12 kB / 1.588 GB, free: 23.43 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/1.5, allocations: 4 kB / 1.588 GB, free: 23.43 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006336/1.5, allocations: 262 kB / 1.588 GB, free: 23.22 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/1.502, allocations: 1.399 MB / 1.59 GB, free: 21.79 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/1.503, allocations: 197.5 kB / 1.59 GB, free: 21.62 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/1.503, allocations: 0 / 1.59 GB, free: 21.62 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/1.503, allocations: 38.31 kB / 1.59 GB, free: 21.58 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/1.503, allocations: 0 / 1.59 GB, free: 21.58 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.0007286/1.504, allocations: 249.2 kB / 1.59 GB, free: 21.38 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/1.504, allocations: 55.41 kB / 1.59 GB, free: 21.32 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/1.504, allocations: 137.8 kB / 1.59 GB, free: 21.19 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/1.504, allocations: 32.89 kB / 1.59 GB, free: 21.16 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/1.504, allocations: 123.5 kB / 1.591 GB, free: 21.04 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/1.504, allocations: 65.91 kB / 1.591 GB, free: 20.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/1.504, allocations: 3.5 kB / 1.591 GB, free: 20.98 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.061e-05/1.504, allocations: 322.2 kB / 1.591 GB, free: 20.66 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/1.504, allocations: 74.17 kB / 1.591 GB, free: 20.61 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/1.504, allocations: 135 kB / 1.591 GB, free: 20.46 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/1.505, allocations: 74.58 kB / 1.591 GB, free: 20.41 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.505, allocations: 4 kB / 1.591 GB, free: 20.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00052/1.505, allocations: 251.4 kB / 1.591 GB, free: 20.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/1.505, allocations: 8.781 kB / 1.592 GB, free: 20.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/1.505, allocations: 0 / 1.592 GB, free: 20.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/1.505, allocations: 8.312 kB / 1.592 GB, free: 20.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/1.506, allocations: 75.19 kB / 1.592 GB, free: 20.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/1.506, allocations: 7.953 kB / 1.592 GB, free: 20.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/1.506, allocations: 35.33 kB / 1.592 GB, free: 20.08 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/1.506, allocations: 11.94 kB / 1.592 GB, free: 20.07 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.0001217/1.506, allocations: 126.4 kB / 1.592 GB, free: 19.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/1.506, allocations: 27.73 kB / 1.592 GB, free: 19.92 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005875/1.507, allocations: 224 kB / 1.592 GB, free: 19.75 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.507, allocations: 3.938 kB / 1.592 GB, free: 19.74 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.507, allocations: 0 / 1.592 GB, free: 19.74 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.507, allocations: 7.984 kB / 1.592 GB, free: 19.73 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/1.507, allocations: 237.9 kB / 1.592 GB, free: 19.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.507, allocations: 0 / 1.592 GB, free: 19.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/1.507, allocations: 59.45 kB / 1.592 GB, free: 19.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.507, allocations: 0 / 1.592 GB, free: 19.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/1.507, allocations: 8 kB / 1.592 GB, free: 19.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/1.507, allocations: 0 / 1.592 GB, free: 19.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.507, allocations: 0 / 1.592 GB, free: 19.42 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/1.508, allocations: 300.1 kB / 1.593 GB, free: 19.15 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/1.508, allocations: 108.4 kB / 1.593 GB, free: 19.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/1.508, allocations: 7.688 kB / 1.593 GB, free: 19.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/1.508, allocations: 23.78 kB / 1.593 GB, free: 19.01 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/1.508, allocations: 7.984 kB / 1.593 GB, free: 19 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/1.508, allocations: 11.25 kB / 1.593 GB, free: 18.99 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.507e-05/1.509, allocations: 116.9 kB / 1.593 GB, free: 18.89 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2e-07/1.509, allocations: 0 / 1.593 GB, free: 18.89 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004209/1.509, allocations: 63.5 kB / 1.593 GB, free: 18.83 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.0002642/1.509, allocations: 154.5 kB / 1.593 GB, free: 18.67 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004928/1.51, allocations: 183.5 kB / 1.593 GB, free: 18.53 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.51, allocations: 0 / 1.593 GB, free: 18.53 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/1.51, allocations: 87 kB / 1.593 GB, free: 18.46 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/1.51, allocations: 52.58 kB / 1.593 GB, free: 18.42 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009361/1.511, allocations: 0.4911 MB / 1.594 GB, free: 17.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/1.511, allocations: 0.7254 MB / 1.595 GB, free: 17.18 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003649/1.512, allocations: 53.91 kB / 1.595 GB, free: 17.12 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.841e-05/1.512, allocations: 27.42 kB / 1.595 GB, free: 17.1 MB / 0.9167 GB Notification: Performance of SimCode: time 6.81e-07/1.512, allocations: 4 kB / 1.595 GB, free: 17.09 MB / 0.9167 GB Notification: Performance of Templates: time 0.006762/1.519, allocations: 3.13 MB / 1.598 GB, free: 14.02 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches