Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001314/0.001314, allocations: 171.4 kB / 498.1 MB, free: 5.688 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.688/1.688, allocations: 223.2 MB / 0.7949 GB, free: 17.88 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.000893/0.0008931, allocations: 92.33 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003809, allocations: 10.12 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2926, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.188/0.4806, allocations: 151.5 MB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/0.481, allocations: 75.97 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01072/0.4918, allocations: 3.501 MB / 1.374 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4918, allocations: 0 / 1.374 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.4918, allocations: 0 / 1.374 GB, free: 6.957 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006014/0.4924, allocations: 411 kB / 1.375 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4925, allocations: 8.031 kB / 1.375 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.4927, allocations: 39.73 kB / 1.375 GB, free: 6.461 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.493, allocations: 190.9 kB / 1.375 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.06e-05/0.4931, allocations: 37.7 kB / 1.375 GB, free: 6.191 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.4931, allocations: 15.94 kB / 1.375 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.4934, allocations: 97.64 kB / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4934, allocations: 0 / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.4934, allocations: 4 kB / 1.375 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.4934, allocations: 4 kB / 1.375 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/0.4937, allocations: 103.7 kB / 1.375 GB, free: 5.965 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006796/0.4944, allocations: 372.5 kB / 1.376 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/0.4949, allocations: 138.6 kB / 1.376 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.495, allocations: 4 kB / 1.376 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.495, allocations: 30.56 kB / 1.376 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.495, allocations: 0 / 1.376 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.000442/0.4955, allocations: 161.8 kB / 1.376 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.4955, allocations: 51.41 kB / 1.376 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.4957, allocations: 123 kB / 1.376 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.4957, allocations: 29.7 kB / 1.376 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.4958, allocations: 104.2 kB / 1.376 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.4958, allocations: 19.7 kB / 1.376 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.4958, allocations: 0 / 1.376 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4959, allocations: 323.8 kB / 1.376 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.4961, allocations: 35.97 kB / 1.377 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.4962, allocations: 49.69 kB / 1.377 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.4963, allocations: 35.98 kB / 1.377 GB, free: 4.398 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4963, allocations: 0 / 1.377 GB, free: 4.398 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002707/0.4966, allocations: 133.5 kB / 1.377 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4966, allocations: 4 kB / 1.377 GB, free: 4.258 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4966, allocations: 4 kB / 1.377 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4966, allocations: 3.938 kB / 1.377 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.4968, allocations: 19.98 kB / 1.377 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4968, allocations: 0 / 1.377 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.92e-05/0.4969, allocations: 15.92 kB / 1.377 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.4969, allocations: 4 kB / 1.377 GB, free: 4.211 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.461e-05/0.497, allocations: 125.8 kB / 1.377 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.497, allocations: 11.86 kB / 1.377 GB, free: 4.066 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.4971, allocations: 16.64 kB / 1.377 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4971, allocations: 0 / 1.377 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4971, allocations: 0 / 1.377 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4971, allocations: 4 kB / 1.377 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.4973, allocations: 193.5 kB / 1.377 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4973, allocations: 3.984 kB / 1.377 GB, free: 3.805 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.4975, allocations: 28 kB / 1.377 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4975, allocations: 3.984 kB / 1.377 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.4975, allocations: 3.953 kB / 1.377 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4975, allocations: 0 / 1.377 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4975, allocations: 4 kB / 1.377 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.4978, allocations: 211.9 kB / 1.377 GB, free: 3.543 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.4979, allocations: 81.02 kB / 1.377 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.4979, allocations: 4 kB / 1.377 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.4981, allocations: 19.88 kB / 1.377 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.4981, allocations: 11.98 kB / 1.377 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.4982, allocations: 4 kB / 1.377 GB, free: 3.406 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.357e-05/0.4982, allocations: 109 kB / 1.378 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4983, allocations: 0 / 1.378 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002348/0.4985, allocations: 20 kB / 1.378 GB, free: 3.281 MB / 0.8698 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 (7): * Single equations (assignments): 7 * 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.0001276/0.4986, allocations: 103 kB / 1.378 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.4989, allocations: 91.94 kB / 1.378 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4989, allocations: 0 / 1.378 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.499, allocations: 43.97 kB / 1.378 GB, free: 3.035 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.4993, allocations: 16.73 kB / 1.378 GB, free: 3.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.4998, allocations: 236.9 kB / 1.378 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.5001, allocations: 0.7004 MB / 1.379 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.13e-05/0.5002, allocations: 16.59 kB / 1.379 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.5003, allocations: 11.44 kB / 1.379 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of SimCode: time 4.51e-07/0.5003, allocations: 4 kB / 1.379 GB, free: 2 MB / 0.8698 GB Notification: Performance of Templates: time 0.00357/0.5039, allocations: 1.262 MB / 1.38 GB, free: 0.7578 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches