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.335/1.335, allocations: 251.9 MB / 266.9 MB, free: 10.96 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.001182/0.001182, allocations: 180.8 kB / 326.5 MB, free: 2.203 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.712/1.712, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0009069/0.0009067, allocations: 88.75 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 8.031 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2474, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1776/0.425, allocations: 133.9 MB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.4253, allocations: 75.95 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009889/0.4352, allocations: 3.456 MB / 1.034 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4353, allocations: 0 / 1.034 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.4353, allocations: 3.984 kB / 1.034 GB, free: 6.203 MB / 0.6823 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.000591/0.4359, allocations: 414.9 kB / 1.035 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.436, allocations: 12.03 kB / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.4363, allocations: 27.88 kB / 1.035 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.4365, allocations: 186.9 kB / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.249e-05/0.4366, allocations: 45.55 kB / 1.035 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.4366, allocations: 8 kB / 1.035 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.4369, allocations: 101.6 kB / 1.035 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.437, allocations: 7.984 kB / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.437, allocations: 4 kB / 1.035 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.437, allocations: 0 / 1.035 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.4372, allocations: 91.94 kB / 1.035 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.4379, allocations: 388.4 kB / 1.036 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005311/0.4385, allocations: 134.5 kB / 1.036 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.4385, allocations: 0 / 1.036 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.4385, allocations: 36.44 kB / 1.036 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.4386, allocations: 4 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004404/0.439, allocations: 145.7 kB / 1.036 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.439, allocations: 55.41 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.4392, allocations: 132 kB / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4392, allocations: 25.7 kB / 1.036 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.4392, allocations: 92.33 kB / 1.036 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.4393, allocations: 27.64 kB / 1.036 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.4393, allocations: 0 / 1.036 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4394, allocations: 314.8 kB / 1.037 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.4395, allocations: 48.06 kB / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.4397, allocations: 49.67 kB / 1.037 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.4398, allocations: 39.98 kB / 1.037 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4398, allocations: 0 / 1.037 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002725/0.4401, allocations: 122 kB / 1.037 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4401, allocations: 11.89 kB / 1.037 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4401, allocations: 8.031 kB / 1.037 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4401, allocations: 3.984 kB / 1.037 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.4403, allocations: 16 kB / 1.037 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4403, allocations: 12.05 kB / 1.037 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.365e-05/0.4404, allocations: 15.84 kB / 1.037 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.4404, allocations: 0 / 1.037 GB, free: 3.453 MB / 0.6823 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.385e-05/0.4405, allocations: 117.8 kB / 1.037 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.4405, allocations: 7.906 kB / 1.037 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.4406, allocations: 24.66 kB / 1.037 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4406, allocations: 0 / 1.037 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4406, allocations: 0 / 1.037 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4406, allocations: 0 / 1.037 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.4408, allocations: 201.6 kB / 1.037 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4408, allocations: 0 / 1.037 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.4409, allocations: 19.92 kB / 1.037 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.441, allocations: 4 kB / 1.037 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.441, allocations: 11.94 kB / 1.037 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.441, allocations: 3.953 kB / 1.037 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.441, allocations: 0 / 1.037 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.4413, allocations: 203.4 kB / 1.037 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.4413, allocations: 89.02 kB / 1.037 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4414, allocations: 3.984 kB / 1.037 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.4415, allocations: 15.98 kB / 1.037 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.4416, allocations: 11.94 kB / 1.037 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.4416, allocations: 0 / 1.037 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.912e-05/0.4417, allocations: 107.2 kB / 1.038 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4417, allocations: 4 kB / 1.038 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002268/0.4419, allocations: 20 kB / 1.038 GB, free: 2.531 MB / 0.6823 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.0001286/0.442, allocations: 99.19 kB / 1.038 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.4423, allocations: 79.95 kB / 1.038 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4423, allocations: 4.062 kB / 1.038 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.4424, allocations: 47.91 kB / 1.038 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.4428, allocations: 21.88 kB / 1.038 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005056/0.4433, allocations: 239.1 kB / 1.038 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.4436, allocations: 0.7004 MB / 1.039 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.734e-05/0.4437, allocations: 12.66 kB / 1.039 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.4437, allocations: 11.44 kB / 1.039 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/0.4437, allocations: 0 / 1.039 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of Templates: time 0.003739/0.4475, allocations: 1.269 MB / 1.04 GB, free: 8 kB / 0.6823 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