Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.31/2.31, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.00127/0.00127, allocations: 185 kB / 498.1 MB, free: 5.773 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.644/1.644, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009443/0.0009444, allocations: 93.33 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003748, allocations: 10.47 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3382, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2754/0.6137, allocations: 150.4 MB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/0.6141, allocations: 83.94 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01064/0.6248, allocations: 2.509 MB / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.294e-06/0.6248, allocations: 4 kB / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.6248, allocations: 0 / 1.372 GB, free: 9.059 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004544/0.6253, allocations: 355.2 kB / 1.373 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.6254, allocations: 12.02 kB / 1.373 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/0.6257, allocations: 15.89 kB / 1.373 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.6258, allocations: 171 kB / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.6259, allocations: 4 kB / 1.373 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.6259, allocations: 0 / 1.373 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.6261, allocations: 57.67 kB / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.6261, allocations: 0 / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.6261, allocations: 0 / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6261, allocations: 0 / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.96e-05/0.6262, allocations: 19.98 kB / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.6265, allocations: 169.6 kB / 1.373 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.6266, allocations: 66.62 kB / 1.373 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.6267, allocations: 4 kB / 1.373 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.6267, allocations: 34.56 kB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.6267, allocations: 0 / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.0002587/0.627, allocations: 69.81 kB / 1.373 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.6271, allocations: 55.41 kB / 1.373 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.6272, allocations: 92.92 kB / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.6272, allocations: 25.7 kB / 1.373 GB, free: 7.738 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.6272, allocations: 84.27 kB / 1.373 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.6273, allocations: 19.72 kB / 1.374 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.6273, allocations: 0 / 1.374 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.6275, allocations: 314.8 kB / 1.374 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.194e-05/0.6275, allocations: 15.98 kB / 1.374 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.6276, allocations: 8.25 kB / 1.374 GB, free: 7.293 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.465e-05/0.6276, allocations: 20.12 kB / 1.374 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6276, allocations: 0 / 1.374 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000154/0.6278, allocations: 57.69 kB / 1.374 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.6278, allocations: 11.98 kB / 1.374 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6279, allocations: 4 kB / 1.374 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.6279, allocations: 3.984 kB / 1.374 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.6281, allocations: 19.94 kB / 1.374 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.6281, allocations: 0 / 1.374 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.6282, allocations: 3.938 kB / 1.374 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.6282, allocations: 7.984 kB / 1.374 GB, free: 7.16 MB / 0.8698 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 () * Number of clocked 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 0.0001314/0.6284, allocations: 115.5 kB / 1.374 GB, free: 7.039 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.6284, allocations: 3.906 kB / 1.374 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.6287, allocations: 97.56 kB / 1.374 GB, free: 6.93 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.6287, allocations: 0 / 1.374 GB, free: 6.93 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.24e-05/0.6288, allocations: 3.984 kB / 1.374 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.6288, allocations: 0 / 1.374 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.629, allocations: 165.6 kB / 1.374 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.629, allocations: 0 / 1.374 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.6292, allocations: 19.92 kB / 1.374 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.6292, allocations: 8 kB / 1.374 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.6292, allocations: 0 / 1.374 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6292, allocations: 0 / 1.374 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6292, allocations: 0 / 1.374 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.6294, allocations: 97.08 kB / 1.374 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.6295, allocations: 93.05 kB / 1.375 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.6296, allocations: 0 / 1.375 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.6297, allocations: 4 kB / 1.375 GB, free: 6.461 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.6297, allocations: 4 kB / 1.375 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.6297, allocations: 7.984 kB / 1.375 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.697e-05/0.6298, allocations: 79.22 kB / 1.375 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6298, allocations: 0 / 1.375 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003293/0.6301, allocations: 12 kB / 1.375 GB, free: 6.359 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.0001509/0.6303, allocations: 103 kB / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.6305, allocations: 31.98 kB / 1.375 GB, free: 6.215 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6305, allocations: 96 / 1.375 GB, free: 6.215 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.983e-05/0.6305, allocations: 35.92 kB / 1.375 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.6308, allocations: 1.5 kB / 1.375 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.6313, allocations: 152.5 kB / 1.375 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.6317, allocations: 0.6848 MB / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.403e-05/0.6318, allocations: 11.98 kB / 1.376 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.6318, allocations: 11.44 kB / 1.376 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of SimCode: time 2.91e-07/0.6318, allocations: 0 / 1.376 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of Templates: time 0.003477/0.6353, allocations: 0.5071 MB / 1.376 GB, free: 4.766 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches