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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.476/2.476, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001035/0.001035, allocations: 174.6 kB / 0.4902 GB, free: 2.227 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.604/1.604, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009815/0.0009815, allocations: 96.27 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004493, allocations: 14.28 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.337, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.5369, allocations: 151.2 MB / 1.377 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.5372, allocations: 87.92 kB / 1.377 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007728/0.5449, allocations: 2.496 MB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.913e-06/0.545, allocations: 0 / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.545, allocations: 0 / 1.379 GB, free: 15.66 MB / 0.8855 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.0003879/0.5454, allocations: 360 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.5455, allocations: 16.5 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.5457, allocations: 11.98 kB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.5458, allocations: 163 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.5458, allocations: 3.984 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.5458, allocations: 11.94 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.546, allocations: 45.69 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.546, allocations: 0 / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.546, allocations: 0 / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.546, allocations: 4 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.758e-05/0.5461, allocations: 31.91 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/0.5463, allocations: 165.6 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.5465, allocations: 54.59 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.5465, allocations: 8 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.5466, allocations: 34.67 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.5466, allocations: 0 / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.000211/0.5468, allocations: 81.66 kB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.5468, allocations: 51.41 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.307e-05/0.5469, allocations: 89 kB / 1.38 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.5469, allocations: 29.7 kB / 1.381 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.547, allocations: 84.27 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.547, allocations: 19.66 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.547, allocations: 0 / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5472, allocations: 322.8 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.813e-05/0.5472, allocations: 8 kB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.5472, allocations: 15.98 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/0.5473, allocations: 8 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5473, allocations: 4 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001059/0.5474, allocations: 66 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.5474, allocations: 10.34 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5474, allocations: 0 / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5474, allocations: 0 / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.5476, allocations: 20.05 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5476, allocations: 3.984 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.221e-05/0.5476, allocations: 4 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.5477, allocations: 0 / 1.381 GB, free: 13.77 MB / 0.8855 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 8.68e-05/0.5477, allocations: 117.8 kB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.5478, allocations: 0 / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.548, allocations: 101.5 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.548, allocations: 0 / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.548, allocations: 3.938 kB / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.548, allocations: 4 kB / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.5482, allocations: 165.6 kB / 1.381 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5482, allocations: 3.938 kB / 1.381 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.5483, allocations: 15.98 kB / 1.381 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5483, allocations: 4 kB / 1.381 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.5483, allocations: 0 / 1.381 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5483, allocations: 0 / 1.381 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5483, allocations: 0 / 1.381 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.5485, allocations: 105 kB / 1.382 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.044e-05/0.5486, allocations: 84.97 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.5486, allocations: 4 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.5487, allocations: 4 kB / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.5487, allocations: 11.98 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.5488, allocations: 0 / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.761e-05/0.5488, allocations: 75.28 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5488, allocations: 0 / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002221/0.549, allocations: 8 kB / 1.382 GB, free: 12.97 MB / 0.8855 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.0001389/0.5492, allocations: 104 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.5493, allocations: 35.92 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5493, allocations: 8.094 kB / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.457e-05/0.5494, allocations: 19.98 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.5496, allocations: 12.5 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.55, allocations: 144.3 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.5503, allocations: 0.6847 MB / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.22e-05/0.5504, allocations: 15.97 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.5504, allocations: 15.38 kB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of SimCode: time 5.61e-07/0.5504, allocations: 0 / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of Templates: time 0.002634/0.5531, allocations: 0.5012 MB / 1.383 GB, free: 11.39 MB / 0.8855 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