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.03/2.03, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.0009807/0.0009806, allocations: 188.8 kB / 487.4 MB, free: 5.043 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.295/1.295, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008139/0.0008139, allocations: 87.92 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.635e-05/1.638e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2442, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9488/1.193, allocations: 355.3 MB / 1.553 GB, free: 1.875 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.193, allocations: 81.58 kB / 1.553 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.03875/1.232, allocations: 16.63 MB / 1.569 GB, free: 4.07 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.563e-06/1.232, allocations: 0 / 1.569 GB, free: 4.07 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.494e-05/1.232, allocations: 4 kB / 1.569 GB, free: 4.066 MB / 0.9792 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.0006972/1.233, allocations: 479.8 kB / 1.57 GB, free: 3.562 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/1.233, allocations: 8.031 kB / 1.57 GB, free: 3.555 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/1.235, allocations: 171.3 kB / 1.57 GB, free: 3.402 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/1.235, allocations: 217 kB / 1.57 GB, free: 3.16 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/1.235, allocations: 4 kB / 1.57 GB, free: 3.156 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/1.235, allocations: 8 kB / 1.57 GB, free: 3.148 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000361/1.236, allocations: 202 kB / 1.57 GB, free: 3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/1.236, allocations: 233.9 kB / 1.571 GB, free: 2.773 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.236, allocations: 4 kB / 1.571 GB, free: 2.77 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/1.236, allocations: 4 kB / 1.571 GB, free: 2.766 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/1.236, allocations: 4 kB / 1.571 GB, free: 2.762 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/1.237, allocations: 1.357 MB / 1.572 GB, free: 1.371 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/1.238, allocations: 142.2 kB / 1.572 GB, free: 1.262 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.244e-05/1.238, allocations: 57.83 kB / 1.572 GB, free: 1.219 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/1.238, allocations: 11.98 kB / 1.572 GB, free: 1.207 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/1.238, allocations: 34.06 kB / 1.572 GB, free: 1.168 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/1.238, allocations: 0 / 1.572 GB, free: 1.168 MB / 0.9792 GB Notification: Performance of matching and sorting (n=18): time 0.0003087/1.238, allocations: 146.6 kB / 1.572 GB, free: 1.047 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/1.238, allocations: 51.41 kB / 1.572 GB, free: 0.9844 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/1.238, allocations: 131.1 kB / 1.572 GB, free: 0.8555 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/1.238, allocations: 25.7 kB / 1.572 GB, free: 0.8242 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/1.238, allocations: 127.3 kB / 1.573 GB, free: 0.6992 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/1.239, allocations: 66.16 kB / 1.573 GB, free: 0.6406 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/1.239, allocations: 0 / 1.573 GB, free: 0.6406 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.239, allocations: 325.5 kB / 1.573 GB, free: 328 kB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/1.239, allocations: 37.97 kB / 1.573 GB, free: 300 kB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/1.239, allocations: 119.7 kB / 1.573 GB, free: 168 kB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.483e-05/1.239, allocations: 65.33 kB / 1.573 GB, free: 120 kB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.239, allocations: 0 / 1.573 GB, free: 120 kB / 0.9792 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002908/1.239, allocations: 198.9 kB / 1.573 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/1.239, allocations: 4 kB / 1.573 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/1.239, allocations: 4 kB / 1.573 GB, free: 15.94 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.239, allocations: 4 kB / 1.573 GB, free: 15.94 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/1.24, allocations: 72.14 kB / 1.573 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/1.24, allocations: 8 kB / 1.573 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/1.24, allocations: 27.77 kB / 1.573 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/1.24, allocations: 15.33 kB / 1.573 GB, free: 15.82 MB / 0.9948 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 9.067e-05/1.24, allocations: 113.3 kB / 1.574 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/1.24, allocations: 15.81 kB / 1.574 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/1.24, allocations: 182 kB / 1.574 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.24, allocations: 4 kB / 1.574 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.24, allocations: 0 / 1.574 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/1.24, allocations: 0 / 1.574 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/1.241, allocations: 207.7 kB / 1.574 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/1.241, allocations: 8 kB / 1.574 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/1.241, allocations: 51.45 kB / 1.574 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.241, allocations: 0 / 1.574 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/1.241, allocations: 4 kB / 1.574 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.241, allocations: 0 / 1.574 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.241, allocations: 0 / 1.574 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/1.241, allocations: 255.3 kB / 1.574 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/1.241, allocations: 112.4 kB / 1.574 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/1.241, allocations: 0 / 1.574 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/1.242, allocations: 19.97 kB / 1.574 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/1.242, allocations: 11.92 kB / 1.574 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/1.242, allocations: 8 kB / 1.574 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 5.363e-05/1.242, allocations: 101.5 kB / 1.574 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.242, allocations: 0 / 1.574 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003519/1.242, allocations: 60.12 kB / 1.575 GB, free: 14.72 MB / 0.9948 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.0002187/1.242, allocations: 139.1 kB / 1.575 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002253/1.243, allocations: 141.1 kB / 1.575 GB, free: 14.47 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.243, allocations: 0 / 1.575 GB, free: 14.47 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.908e-05/1.243, allocations: 68.86 kB / 1.575 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/1.243, allocations: 31.14 kB / 1.575 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005752/1.244, allocations: 208.4 kB / 1.575 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/1.244, allocations: 0.721 MB / 1.576 GB, free: 13.44 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003264/1.244, allocations: 45.84 kB / 1.576 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/1.244, allocations: 26.98 kB / 1.576 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of SimCode: time 2.31e-07/1.244, allocations: 0 / 1.576 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of Templates: time 0.005515/1.25, allocations: 2.723 MB / 1.579 GB, free: 10.69 MB / 0.9948 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