Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, 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: 182.7 kB / 326.5 MB, free: 2.246 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.831/1.831, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008478/0.0008478, allocations: 82.38 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 9.156 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.194, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/0.3919, allocations: 158.9 MB / 1.055 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.3922, allocations: 79.95 kB / 1.055 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3952/0.7874, allocations: 2.149 MB / 1.057 GB, free: 158.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7875, allocations: 0 / 1.057 GB, free: 158.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.7875, allocations: 4.969 kB / 1.057 GB, free: 158.4 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000389/0.7879, allocations: 388.9 kB / 1.058 GB, free: 158 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.7879, allocations: 8.219 kB / 1.058 GB, free: 158 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.788, allocations: 7.422 kB / 1.058 GB, free: 158 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.64e-05/0.7881, allocations: 171 kB / 1.058 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.7881, allocations: 0 / 1.058 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.7881, allocations: 4 kB / 1.058 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.7883, allocations: 90.06 kB / 1.058 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.7884, allocations: 0 / 1.058 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.7884, allocations: 0 / 1.058 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.7884, allocations: 0 / 1.058 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.7887, allocations: 99.58 kB / 1.058 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.789, allocations: 289.9 kB / 1.058 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.7892, allocations: 66.22 kB / 1.058 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.7893, allocations: 92.5 kB / 1.059 GB, free: 157.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.7893, allocations: 35.41 kB / 1.059 GB, free: 157.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.7894, allocations: 0 / 1.059 GB, free: 157.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0004971/0.7899, allocations: 164 kB / 1.059 GB, free: 157.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.7899, allocations: 52.16 kB / 1.059 GB, free: 157.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.604e-05/0.79, allocations: 117.3 kB / 1.059 GB, free: 157.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.79, allocations: 25.7 kB / 1.059 GB, free: 157.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.79, allocations: 89.78 kB / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.79, allocations: 11.38 kB / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.79, allocations: 1.219 kB / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.589e-05/0.7901, allocations: 317.8 kB / 1.059 GB, free: 156.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.7902, allocations: 45.34 kB / 1.059 GB, free: 156.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.7904, allocations: 39.11 kB / 1.059 GB, free: 156.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.7905, allocations: 47.75 kB / 1.059 GB, free: 156.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7905, allocations: 0 / 1.059 GB, free: 156.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002789/0.7908, allocations: 121.4 kB / 1.06 GB, free: 156.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.7908, allocations: 5.031 kB / 1.06 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.7908, allocations: 0 / 1.06 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.7909, allocations: 6.547 kB / 1.06 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.791, allocations: 24.53 kB / 1.06 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.791, allocations: 0 / 1.06 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/0.7911, allocations: 20.86 kB / 1.06 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.7911, allocations: 4.5 kB / 1.06 GB, free: 156.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 4.96e-05/0.7912, allocations: 112.8 kB / 1.06 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.7912, allocations: 14.03 kB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.7915, allocations: 137.8 kB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7915, allocations: 0 / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7915, allocations: 3.953 kB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.7915, allocations: 3.484 kB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.7917, allocations: 167.9 kB / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7917, allocations: 0 / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.7918, allocations: 21.7 kB / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.7918, allocations: 0 / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.7918, allocations: 5.938 kB / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7918, allocations: 0 / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.7918, allocations: 1.469 kB / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.7921, allocations: 221 kB / 1.06 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.7922, allocations: 81.38 kB / 1.06 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.7922, allocations: 1.594 kB / 1.06 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.7923, allocations: 22.25 kB / 1.06 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.7924, allocations: 10.38 kB / 1.06 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.7924, allocations: 1.312 kB / 1.06 GB, free: 156.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.337e-05/0.7924, allocations: 95.16 kB / 1.06 GB, free: 156 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7924, allocations: 0 / 1.06 GB, free: 156 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002213/0.7926, allocations: 21.77 kB / 1.061 GB, free: 156 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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.0001759/0.7928, allocations: 131.3 kB / 1.061 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003053/0.7931, allocations: 88.95 kB / 1.061 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7931, allocations: 0 / 1.061 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.7933, allocations: 48.61 kB / 1.061 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.7935, allocations: 15.22 kB / 1.061 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.7937, allocations: 193.3 kB / 1.061 GB, free: 155.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.7938, allocations: 0.6837 MB / 1.062 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.7939, allocations: 3.406 kB / 1.062 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.7939, allocations: 10.64 kB / 1.062 GB, free: 155 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.7939, allocations: 4 kB / 1.062 GB, free: 155 MB / 0.698 GB Notification: Performance of Templates: time 0.003891/0.7978, allocations: 1.256 MB / 1.063 GB, free: 154.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches