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.347/1.347, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 178.4 kB / 326.5 MB, free: 2.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.798/1.798, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008764/0.0008761, allocations: 79.94 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 12.75 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2474, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.4282, allocations: 132.9 MB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.4286, allocations: 75.95 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007083/0.4357, allocations: 2.462 MB / 1.032 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4357, allocations: 0 / 1.032 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.4357, allocations: 4 kB / 1.032 GB, free: 8.336 MB / 0.6823 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.0003501/0.4361, allocations: 363.2 kB / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.4361, allocations: 12.03 kB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.4363, allocations: 11.98 kB / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.4365, allocations: 163 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.4365, allocations: 0 / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.4365, allocations: 4 kB / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.4366, allocations: 53.61 kB / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4367, allocations: 0 / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.4367, allocations: 7.922 kB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.4367, allocations: 8 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.216e-05/0.4368, allocations: 19.98 kB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.4369, allocations: 161.6 kB / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.4371, allocations: 66.69 kB / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.4371, allocations: 0 / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.4371, allocations: 35.23 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.4372, allocations: 4 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0001938/0.4374, allocations: 81.66 kB / 1.033 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.4374, allocations: 51.41 kB / 1.033 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/0.4375, allocations: 92.98 kB / 1.033 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.4375, allocations: 25.7 kB / 1.033 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.837e-05/0.4375, allocations: 80.14 kB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.4376, allocations: 19.73 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.4376, allocations: 4 kB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.4377, allocations: 319 kB / 1.034 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.4377, allocations: 7.984 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.4378, allocations: 12 kB / 1.034 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.4378, allocations: 16 kB / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.4378, allocations: 3.953 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.268e-05/0.4379, allocations: 73.52 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4379, allocations: 4 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4379, allocations: 0 / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.438, allocations: 0 / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.4381, allocations: 12 kB / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4381, allocations: 4 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.4381, allocations: 7.984 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.4382, allocations: 0 / 1.034 GB, free: 6.438 MB / 0.6823 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 7.757e-05/0.4382, allocations: 113.8 kB / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.4383, allocations: 7.891 kB / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.4385, allocations: 85.58 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.4385, allocations: 7.984 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4385, allocations: 0 / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.4385, allocations: 3.938 kB / 1.034 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.4386, allocations: 169.5 kB / 1.034 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4386, allocations: 0 / 1.034 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.722e-05/0.4387, allocations: 19.94 kB / 1.034 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4387, allocations: 0 / 1.034 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.4387, allocations: 0 / 1.034 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4388, allocations: 4.438 kB / 1.034 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4388, allocations: 4 kB / 1.034 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.4389, allocations: 101.1 kB / 1.034 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.439, allocations: 85.09 kB / 1.035 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.439, allocations: 7.953 kB / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.017e-05/0.439, allocations: 0 / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.4391, allocations: 4 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.4391, allocations: 3.984 kB / 1.035 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.009e-05/0.4391, allocations: 83.28 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4391, allocations: 4 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001817/0.4393, allocations: 8 kB / 1.035 GB, free: 5.637 MB / 0.6823 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.0001144/0.4394, allocations: 99.23 kB / 1.035 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.4395, allocations: 43.92 kB / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4396, allocations: 0 / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.313e-05/0.4396, allocations: 19.98 kB / 1.035 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.4398, allocations: 8.844 kB / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.4401, allocations: 152.6 kB / 1.035 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.4404, allocations: 0.6837 MB / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.446e-05/0.4405, allocations: 8.188 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.4405, allocations: 11.44 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of SimCode: time 3.51e-07/0.4405, allocations: 0 / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of Templates: time 0.002335/0.4428, allocations: 0.5067 MB / 1.036 GB, free: 4.086 MB / 0.6823 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