Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.505/1.505, allocations: 249.3 MB / 261.8 MB, free: 5.848 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.00133/0.00133, allocations: 176.8 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.201/2.201, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.001137/0.001137, allocations: 96.05 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.896e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2693, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9104/1.18, allocations: 132.8 MB / 1.021 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/1.18, allocations: 77.64 kB / 1.022 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006835/1.187, allocations: 2.461 MB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.176e-06/1.187, allocations: 0 / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.061e-06/1.187, allocations: 3.938 kB / 1.024 GB, free: 15.78 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003193/1.187, allocations: 358 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.187, allocations: 8.031 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/1.188, allocations: 11.98 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/1.188, allocations: 167 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/1.188, allocations: 4 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/1.188, allocations: 3.812 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/1.188, allocations: 52.67 kB / 1.025 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-06/1.188, allocations: 4 kB / 1.025 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/1.188, allocations: 3.75 kB / 1.025 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/1.188, allocations: 0 / 1.025 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.147e-05/1.188, allocations: 19.25 kB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/1.188, allocations: 164.9 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/1.188, allocations: 60.66 kB / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/1.188, allocations: 32.7 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/1.188, allocations: 0 / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/1.188, allocations: 34.56 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/1.188, allocations: 0 / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0001499/1.189, allocations: 67.91 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/1.189, allocations: 51.41 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.235e-05/1.189, allocations: 85 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/1.189, allocations: 28.14 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/1.189, allocations: 84.27 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/1.189, allocations: 22.42 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/1.189, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.189, allocations: 314.8 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/1.189, allocations: 7.812 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-05/1.189, allocations: 17.94 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/1.189, allocations: 19.44 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.189, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.072e-05/1.189, allocations: 63.47 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.189, allocations: 9.719 kB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.189, allocations: 4 kB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.527e-06/1.189, allocations: 3.938 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/1.189, allocations: 15.98 kB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.189, allocations: 0 / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/1.189, allocations: 256 / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/1.189, allocations: 4 kB / 1.026 GB, free: 13.96 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.512e-05/1.189, allocations: 112.1 kB / 1.026 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-06/1.189, allocations: 0 / 1.026 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/1.19, allocations: 94.25 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/1.19, allocations: 0 / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.19, allocations: 0 / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.19, allocations: 7.922 kB / 1.026 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/1.19, allocations: 170.3 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.19, allocations: 3.953 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.059e-05/1.19, allocations: 19.98 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.19, allocations: 0 / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/1.19, allocations: 4 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/1.19, allocations: 0 / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.19, allocations: 3.938 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/1.19, allocations: 89.62 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/1.19, allocations: 85.05 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/1.19, allocations: 6.5 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.536e-05/1.19, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/1.19, allocations: 7.984 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/1.19, allocations: 7.688 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.282e-05/1.19, allocations: 75.28 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.19, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001683/1.191, allocations: 8 kB / 1.026 GB, free: 13.22 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.0001622/1.191, allocations: 102.7 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.733e-05/1.191, allocations: 38.55 kB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.191, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/1.191, allocations: 31.14 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/1.191, allocations: 0 / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/1.191, allocations: 80.66 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/1.192, allocations: 0.6809 MB / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.095e-05/1.192, allocations: 11.98 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/1.192, allocations: 11.44 kB / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of SimCode: time 3.81e-07/1.192, allocations: 0 / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of Templates: time 0.002223/1.194, allocations: 0.5153 MB / 1.028 GB, free: 11.75 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches