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.415/1.415, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 188.6 kB / 326.5 MB, free: 2.266 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.766/1.766, allocations: 205.4 MB / 0.5775 GB, free: 20.31 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.0008545/0.0008544, allocations: 96.53 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 11.31 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2471, allocations: 106.3 MB / 0.9001 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9581/1.205, allocations: 339.8 MB / 1.232 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/1.206, allocations: 76.33 kB / 1.232 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03975/1.245, allocations: 16.31 MB / 1.248 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.825e-06/1.245, allocations: 0 / 1.248 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.583e-05/1.246, allocations: 4 kB / 1.248 GB, free: 12.82 MB / 0.7605 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.0007579/1.246, allocations: 488.5 kB / 1.248 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/1.246, allocations: 8.031 kB / 1.248 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/1.248, allocations: 177.3 kB / 1.249 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/1.249, allocations: 213.4 kB / 1.249 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/1.249, allocations: 11.89 kB / 1.249 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/1.249, allocations: 11.56 kB / 1.249 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006926/1.249, allocations: 302 kB / 1.249 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.249, allocations: 3.938 kB / 1.249 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/1.249, allocations: 10.94 kB / 1.249 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/1.249, allocations: 4 kB / 1.249 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007121/1.25, allocations: 261.5 kB / 1.249 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/1.252, allocations: 1.386 MB / 1.251 GB, free: 9.973 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/1.253, allocations: 191.9 kB / 1.251 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/1.253, allocations: 4 kB / 1.251 GB, free: 9.812 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/1.253, allocations: 34 kB / 1.251 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/1.253, allocations: 0 / 1.251 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0007469/1.254, allocations: 253.6 kB / 1.251 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/1.254, allocations: 59.36 kB / 1.251 GB, free: 9.5 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/1.254, allocations: 143.5 kB / 1.251 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/1.254, allocations: 29.27 kB / 1.251 GB, free: 9.336 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/1.254, allocations: 130.6 kB / 1.252 GB, free: 9.211 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/1.254, allocations: 69.59 kB / 1.252 GB, free: 9.152 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/1.254, allocations: 3.938 kB / 1.252 GB, free: 9.152 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.254, allocations: 322.3 kB / 1.252 GB, free: 8.832 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/1.254, allocations: 65.67 kB / 1.252 GB, free: 8.785 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/1.255, allocations: 135.8 kB / 1.252 GB, free: 8.641 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/1.255, allocations: 77.28 kB / 1.252 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.255, allocations: 0 / 1.252 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005824/1.256, allocations: 260 kB / 1.252 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/1.256, allocations: 4 kB / 1.252 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.256, allocations: 7.938 kB / 1.252 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.256, allocations: 4 kB / 1.252 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/1.256, allocations: 67.89 kB / 1.253 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/1.256, allocations: 4 kB / 1.253 GB, free: 8.289 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/1.256, allocations: 39.44 kB / 1.253 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/1.256, allocations: 15.36 kB / 1.253 GB, free: 8.242 MB / 0.7605 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.0001445/1.256, allocations: 128.8 kB / 1.253 GB, free: 8.113 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/1.257, allocations: 11.91 kB / 1.253 GB, free: 8.102 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006275/1.257, allocations: 228 kB / 1.253 GB, free: 7.926 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.257, allocations: 4 kB / 1.253 GB, free: 7.922 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.257, allocations: 0 / 1.253 GB, free: 7.922 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/1.257, allocations: 3.984 kB / 1.253 GB, free: 7.918 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/1.257, allocations: 242 kB / 1.253 GB, free: 7.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/1.258, allocations: 4 kB / 1.253 GB, free: 7.656 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/1.258, allocations: 43.97 kB / 1.253 GB, free: 7.613 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/1.258, allocations: 4 kB / 1.253 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/1.258, allocations: 7.297 kB / 1.253 GB, free: 7.605 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.258, allocations: 0 / 1.253 GB, free: 7.605 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/1.258, allocations: 8 kB / 1.253 GB, free: 7.598 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005159/1.258, allocations: 299.9 kB / 1.253 GB, free: 7.332 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/1.259, allocations: 112.3 kB / 1.254 GB, free: 7.207 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/1.259, allocations: 3.562 kB / 1.254 GB, free: 7.207 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003069/1.259, allocations: 15.48 kB / 1.254 GB, free: 7.195 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/1.259, allocations: 11.98 kB / 1.254 GB, free: 7.184 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/1.259, allocations: 7.25 kB / 1.254 GB, free: 7.18 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.54e-05/1.259, allocations: 117.5 kB / 1.254 GB, free: 7.074 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.31e-07/1.259, allocations: 0 / 1.254 GB, free: 7.074 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003368/1.259, allocations: 63.25 kB / 1.254 GB, free: 7.02 MB / 0.7605 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.0002289/1.26, allocations: 146.3 kB / 1.254 GB, free: 6.875 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000504/1.26, allocations: 176.2 kB / 1.254 GB, free: 6.734 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.26, allocations: 0 / 1.254 GB, free: 6.734 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/1.26, allocations: 93.69 kB / 1.254 GB, free: 6.664 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/1.261, allocations: 50.89 kB / 1.254 GB, free: 6.625 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000965/1.262, allocations: 494.7 kB / 1.255 GB, free: 6.133 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/1.262, allocations: 0.7292 MB / 1.255 GB, free: 5.379 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003345/1.262, allocations: 45.94 kB / 1.255 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.904e-05/1.263, allocations: 27.42 kB / 1.256 GB, free: 5.309 MB / 0.7605 GB Notification: Performance of SimCode: time 2.31e-07/1.263, allocations: 0 / 1.256 GB, free: 5.309 MB / 0.7605 GB Notification: Performance of Templates: time 0.006343/1.269, allocations: 3.044 MB / 1.258 GB, free: 2.332 MB / 0.7605 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