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.494/1.494, allocations: 249.3 MB / 261.8 MB, free: 5.891 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.001161/0.001161, allocations: 186 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.001104/0.001104, allocations: 94.52 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.789e-05, allocations: 8 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2555, allocations: 106.3 MB / 0.8918 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8972/1.153, allocations: 133.9 MB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/1.153, allocations: 81.62 kB / 1.023 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01028/1.163, allocations: 3.457 MB / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.082e-06/1.163, allocations: 0 / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.098e-05/1.163, allocations: 4 kB / 1.026 GB, free: 13.89 MB / 0.6511 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.0005086/1.164, allocations: 393 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.164, allocations: 8.031 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/1.164, allocations: 31.88 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/1.164, allocations: 198.5 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.219e-05/1.164, allocations: 33.27 kB / 1.027 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/1.164, allocations: 4 kB / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/1.165, allocations: 89.97 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/1.165, allocations: 0 / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/1.165, allocations: 3.375 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/1.165, allocations: 4 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/1.165, allocations: 59.05 kB / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/1.165, allocations: 390.5 kB / 1.027 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/1.166, allocations: 123.9 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/1.166, allocations: 31.3 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/1.166, allocations: 0 / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/1.166, allocations: 30.56 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/1.166, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002011/1.166, allocations: 79.22 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/1.166, allocations: 55.41 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/1.166, allocations: 132.6 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/1.167, allocations: 29.2 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/1.167, allocations: 91.73 kB / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/1.167, allocations: 27.06 kB / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/1.167, allocations: 4 kB / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.167, allocations: 318.4 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-05/1.167, allocations: 19 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.818e-05/1.167, allocations: 32.53 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/1.167, allocations: 19.3 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.167, allocations: 0 / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001507/1.167, allocations: 94.83 kB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.167, allocations: 8 kB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/1.167, allocations: 0 / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/1.167, allocations: 0 / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/1.167, allocations: 19.98 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/1.167, allocations: 4.031 kB / 1.028 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.753e-05/1.167, allocations: 15.89 kB / 1.028 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/1.167, allocations: 7.75 kB / 1.028 GB, free: 11.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.772e-05/1.167, allocations: 101 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/1.168, allocations: 15.8 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/1.168, allocations: 19.67 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.168, allocations: 0 / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.168, allocations: 3.938 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.168, allocations: 4 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/1.168, allocations: 210.3 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.168, allocations: 0 / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/1.168, allocations: 16 kB / 1.029 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/1.168, allocations: 3.984 kB / 1.029 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/1.168, allocations: 7.578 kB / 1.029 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.168, allocations: 0 / 1.029 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.168, allocations: 0 / 1.029 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/1.168, allocations: 175.1 kB / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/1.168, allocations: 85.02 kB / 1.029 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/1.168, allocations: 0 / 1.029 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/1.168, allocations: 22.94 kB / 1.029 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/1.168, allocations: 7.922 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/1.169, allocations: 4 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.042e-05/1.169, allocations: 110.1 kB / 1.029 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.169, allocations: 0 / 1.029 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002334/1.169, allocations: 23.91 kB / 1.029 GB, free: 10.73 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.000146/1.169, allocations: 98 kB / 1.029 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001325/1.169, allocations: 46.19 kB / 1.029 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.169, allocations: 0 / 1.029 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.91e-05/1.169, allocations: 27.12 kB / 1.029 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/1.169, allocations: 27.78 kB / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/1.17, allocations: 127.5 kB / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/1.17, allocations: 0.7043 MB / 1.03 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.618e-05/1.17, allocations: 12.66 kB / 1.03 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/1.17, allocations: 15.38 kB / 1.03 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of SimCode: time 3.6e-07/1.17, allocations: 0 / 1.03 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of Templates: time 0.003627/1.174, allocations: 1.276 MB / 1.031 GB, free: 8.418 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