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.474/1.474, allocations: 249.5 MB / 257 MB, free: 6.875 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.00114/0.001139, allocations: 187.2 kB / 316.3 MB, free: 3.242 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.856/1.856, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0009793/0.0009796, allocations: 89.84 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.924e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2797, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9352/1.215, allocations: 133.1 MB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.215, allocations: 79.69 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007329/1.223, allocations: 2.447 MB / 1.018 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/1.223, allocations: 0 / 1.018 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.629e-06/1.223, allocations: 0 / 1.018 GB, free: 2.625 MB / 0.6355 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.0003561/1.223, allocations: 346.4 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.223, allocations: 12.03 kB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/1.223, allocations: 11.61 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/1.224, allocations: 167 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/1.224, allocations: 4 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/1.224, allocations: 1.031 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001198/1.224, allocations: 19.67 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/1.224, allocations: 49.19 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/1.224, allocations: 0 / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/1.224, allocations: 3.984 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/1.224, allocations: 0 / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/1.224, allocations: 137.5 kB / 1.018 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/1.224, allocations: 57.28 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/1.224, allocations: 24.3 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/1.224, allocations: 4.031 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/1.224, allocations: 31.44 kB / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/1.224, allocations: 3.938 kB / 1.018 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002168/1.225, allocations: 68.34 kB / 1.019 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/1.225, allocations: 53.94 kB / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.879e-05/1.225, allocations: 93 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/1.225, allocations: 25.7 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/1.225, allocations: 80.14 kB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/1.225, allocations: 15.5 kB / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/1.225, allocations: 4 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.225, allocations: 314.8 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/1.225, allocations: 7.375 kB / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.806e-05/1.225, allocations: 11.44 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.722e-05/1.225, allocations: 14.94 kB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.225, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001008/1.225, allocations: 72.09 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.225, allocations: 15.88 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.225, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/1.225, allocations: 3.984 kB / 1.019 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/1.225, allocations: 12 kB / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/1.225, allocations: 3.984 kB / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/1.225, allocations: 0 / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/1.225, allocations: 0 / 1.019 GB, free: 0.8711 MB / 0.6355 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 9.463e-05/1.225, allocations: 109 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/1.225, allocations: 3.953 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/1.226, allocations: 76.95 kB / 1.019 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/1.226, allocations: 3.938 kB / 1.019 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.226, allocations: 3.984 kB / 1.019 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.226, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/1.226, allocations: 157.8 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.226, allocations: 0 / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.45e-05/1.226, allocations: 12 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.226, allocations: 4 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/1.226, allocations: 3.953 kB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/1.226, allocations: 0 / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.226, allocations: 3.984 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/1.226, allocations: 88 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.168e-05/1.226, allocations: 85.11 kB / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/1.226, allocations: 3.984 kB / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.791e-05/1.226, allocations: 4.203 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/1.226, allocations: 7.938 kB / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/1.226, allocations: 7.375 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.2e-05/1.226, allocations: 75.28 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.226, allocations: 0 / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001729/1.227, allocations: 11.94 kB / 1.02 GB, free: 164 kB / 0.6355 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.0001382/1.227, allocations: 107.3 kB / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.273e-05/1.227, allocations: 27.25 kB / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.227, allocations: 0 / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/1.227, allocations: 27 kB / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/1.227, allocations: 2.062 kB / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/1.227, allocations: 75.55 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/1.228, allocations: 0.6807 MB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.876e-05/1.228, allocations: 7.984 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/1.228, allocations: 11.44 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/1.228, allocations: 0 / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of Templates: time 0.002345/1.23, allocations: 0.5009 MB / 1.021 GB, free: 14.73 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