Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.736/2.736, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 12 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8811/0.8815, allocations: 153.6 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001125/0.8827, allocations: 0.9916 MB / 1.022 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000683/0.8834, allocations: 490.9 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.496e-05/0.8834, allocations: 0 / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.8834, allocations: 0 / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.44e-05/0.8835, allocations: 7.969 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.8838, allocations: 95.69 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.395e-05/0.8838, allocations: 19.95 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.8839, allocations: 4 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.109e-05/0.8839, allocations: 8 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.679e-05/0.884, allocations: 11.92 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.333e-06/0.884, allocations: 4 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.8842, allocations: 195.8 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.265e-06/0.8843, allocations: 4 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.8843, allocations: 29.64 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.8844, allocations: 73.84 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.8844, allocations: 0 / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.193e-06/0.8844, allocations: 0 / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.8845, allocations: 0 / 1.023 GB, free: 15.19 MB / 0.7794 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.0003254/0.8848, allocations: 355.2 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.8848, allocations: 15.98 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.885, allocations: 15.97 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.339e-05/0.8851, allocations: 167 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.8852, allocations: 3.953 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.8852, allocations: 0 / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.8853, allocations: 57.61 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.8853, allocations: 3.984 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.8853, allocations: 0 / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.8853, allocations: 4 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.764e-05/0.8854, allocations: 23.92 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.8856, allocations: 169.7 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.8857, allocations: 58.66 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.8857, allocations: 3.953 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.8857, allocations: 38.59 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.8857, allocations: 4 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0001601/0.8859, allocations: 77.75 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.8859, allocations: 51.41 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.693e-05/0.886, allocations: 89.86 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.886, allocations: 25.7 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.463e-05/0.886, allocations: 80.14 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.8861, allocations: 27.64 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.8861, allocations: 0 / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.521e-05/0.8862, allocations: 322.9 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.25e-05/0.8862, allocations: 12 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/0.8862, allocations: 7.984 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.055e-05/0.8863, allocations: 16 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8863, allocations: 0 / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.013e-05/0.8864, allocations: 69.62 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.8864, allocations: 7.953 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.8864, allocations: 0 / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.8864, allocations: 0 / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.8865, allocations: 15.98 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.8865, allocations: 4 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.481e-05/0.8866, allocations: 3.906 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.8866, allocations: 4 kB / 1.024 GB, free: 13.27 MB / 0.7794 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 6.808e-05/0.8867, allocations: 109.8 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.8867, allocations: 4 kB / 1.024 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.8869, allocations: 93.52 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.8869, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.8869, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.8869, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.887, allocations: 165.7 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.887, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.06e-05/0.8871, allocations: 19.98 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.8871, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.8871, allocations: 448 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.8872, allocations: 3.953 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8872, allocations: 3.938 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.8873, allocations: 113 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.8873, allocations: 85.05 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.8874, allocations: 0 / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.247e-05/0.8874, allocations: 4 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.8874, allocations: 11.92 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.8875, allocations: 8 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.981e-05/0.8875, allocations: 79.28 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8875, allocations: 0 / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001778/0.8877, allocations: 8 kB / 1.025 GB, free: 12.47 MB / 0.7794 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.0001183/0.8878, allocations: 103.2 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.523e-05/0.8879, allocations: 39.92 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.8879, allocations: 0 / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.8879, allocations: 23.98 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.8881, allocations: 6.703 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.8884, allocations: 152.7 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.8886, allocations: 0.6809 MB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.574e-05/0.8887, allocations: 11.94 kB / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.8887, allocations: 15.42 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8887, allocations: 0 / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of Templates: time 0.002117/0.8908, allocations: 0.5003 MB / 1.027 GB, free: 10.9 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches