Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 249.5 MB / 257 MB, free: 7.016 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001233, allocations: 184.6 kB / 316.3 MB, free: 3.309 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.997/1.997, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0008659/0.0008659, allocations: 78.55 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.223e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2569, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9724/1.229, allocations: 134.2 MB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/1.23, allocations: 70.34 kB / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009963/1.24, allocations: 3.441 MB / 1.02 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/1.24, allocations: 0 / 1.02 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.102e-05/1.24, allocations: 4 kB / 1.02 GB, free: 0.8086 MB / 0.6355 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.0005123/1.24, allocations: 396.3 kB / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.24, allocations: 12.03 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/1.241, allocations: 27.89 kB / 1.02 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/1.241, allocations: 197.1 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-05/1.241, allocations: 37.69 kB / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/1.241, allocations: 4 kB / 1.02 GB, free: 72 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000134/1.241, allocations: 44.69 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/1.241, allocations: 72.55 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/1.241, allocations: 8 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/1.241, allocations: 0 / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/1.241, allocations: 3.938 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/1.242, allocations: 352.4 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/1.242, allocations: 106.6 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/1.242, allocations: 34.98 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/1.242, allocations: 0 / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/1.242, allocations: 38.52 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/1.242, allocations: 0 / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0001843/1.243, allocations: 75.52 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/1.243, allocations: 51.41 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/1.243, allocations: 107 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/1.243, allocations: 25.7 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/1.243, allocations: 107.4 kB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/1.243, allocations: 23.34 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/1.243, allocations: 0 / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.243, allocations: 326.6 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/1.243, allocations: 19.36 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/1.243, allocations: 28.91 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.742e-05/1.243, allocations: 23.17 kB / 1.022 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.243, allocations: 0 / 1.022 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001143/1.243, allocations: 76.41 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.243, allocations: 4 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/1.243, allocations: 0 / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/1.243, allocations: 11.98 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/1.243, allocations: 19.98 kB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/1.243, allocations: 3.938 kB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-05/1.243, allocations: 8 kB / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/1.243, allocations: 3.5 kB / 1.022 GB, free: 14.56 MB / 0.6511 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 () * 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 7.298e-05/1.244, allocations: 105 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/1.244, allocations: 11.91 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/1.244, allocations: 12.25 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.244, allocations: 3.953 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.244, allocations: 0 / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.244, allocations: 0 / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/1.244, allocations: 180.4 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.244, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/1.244, allocations: 19.98 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/1.244, allocations: 0 / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/1.244, allocations: 0 / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.244, allocations: 4 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.244, allocations: 0 / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/1.244, allocations: 178 kB / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/1.244, allocations: 88.5 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/1.244, allocations: 4 kB / 1.022 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/1.244, allocations: 19.98 kB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/1.244, allocations: 7.984 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/1.244, allocations: 3.984 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.442e-05/1.244, allocations: 94.28 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.244, allocations: 0 / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002183/1.245, allocations: 19.95 kB / 1.023 GB, free: 13.79 MB / 0.6511 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 (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.0001217/1.245, allocations: 95.25 kB / 1.023 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001131/1.245, allocations: 50.44 kB / 1.023 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.245, allocations: 4.062 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/1.245, allocations: 26.92 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/1.245, allocations: 19.67 kB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/1.246, allocations: 126.1 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/1.246, allocations: 0.7047 MB / 1.024 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.796e-05/1.246, allocations: 8.172 kB / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/1.246, allocations: 11.44 kB / 1.024 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/1.246, allocations: 7.938 kB / 1.024 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of Templates: time 0.0031/1.249, allocations: 1.079 MB / 1.025 GB, free: 11.67 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches