Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.266/2.266, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001317/0.001316, allocations: 180 kB / 0.4902 GB, free: 2.258 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.655/1.655, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0008396/0.0008395, allocations: 103.7 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003703, allocations: 10.44 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3567, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/0.5581, allocations: 151.5 MB / 1.377 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.5584, allocations: 83.95 kB / 1.377 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01975/0.5782, allocations: 6.256 MB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.559e-06/0.5783, allocations: 0 / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.5783, allocations: 3.938 kB / 1.383 GB, free: 11.74 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004533/0.5788, allocations: 367.2 kB / 1.384 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.5788, allocations: 8.562 kB / 1.384 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.5791, allocations: 15.98 kB / 1.384 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.5792, allocations: 163 kB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.5792, allocations: 4 kB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.5792, allocations: 4 kB / 1.384 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.5794, allocations: 49.66 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.5794, allocations: 0 / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.5795, allocations: 0 / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.5795, allocations: 4 kB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.593e-05/0.5795, allocations: 15.98 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.5798, allocations: 169.5 kB / 1.384 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000987/0.5808, allocations: 118.6 kB / 1.384 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.581, allocations: 85.19 kB / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.5811, allocations: 34.56 kB / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 2.635e-06/0.5811, allocations: 0 / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002869/0.5814, allocations: 69.53 kB / 1.384 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.5815, allocations: 55.39 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.826e-05/0.5816, allocations: 93 kB / 1.385 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.5817, allocations: 25.7 kB / 1.385 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.5817, allocations: 80.14 kB / 1.385 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.5818, allocations: 7.906 kB / 1.385 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.5818, allocations: 0 / 1.385 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.582, allocations: 314.8 kB / 1.385 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.043e-05/0.582, allocations: 11.98 kB / 1.385 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/0.5821, allocations: 7.938 kB / 1.385 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.707e-05/0.5821, allocations: 16.08 kB / 1.385 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5821, allocations: 0 / 1.385 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001341/0.5823, allocations: 61.53 kB / 1.385 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.5823, allocations: 4 kB / 1.385 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.5823, allocations: 0 / 1.385 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.5823, allocations: 7.984 kB / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.5824, allocations: 4 kB / 1.385 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.5824, allocations: 0 / 1.385 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.535e-05/0.5825, allocations: 3.938 kB / 1.385 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.5825, allocations: 8 kB / 1.385 GB, free: 9.738 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 (4): * Single equations (assignments): 4 * 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.0001255/0.5827, allocations: 113.8 kB / 1.385 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.5827, allocations: 4 kB / 1.385 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.583, allocations: 77.16 kB / 1.385 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.583, allocations: 0 / 1.385 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.583, allocations: 7.938 kB / 1.385 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.583, allocations: 0 / 1.385 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.5832, allocations: 161.7 kB / 1.385 GB, free: 9.316 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5832, allocations: 3.953 kB / 1.385 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.5833, allocations: 8 kB / 1.385 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5833, allocations: 0 / 1.385 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.5833, allocations: 0 / 1.385 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5833, allocations: 0 / 1.385 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5833, allocations: 3.938 kB / 1.385 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.5835, allocations: 89.48 kB / 1.386 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/0.5836, allocations: 93.05 kB / 1.386 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.5836, allocations: 4 kB / 1.386 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.865e-05/0.5837, allocations: 0 / 1.386 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.5837, allocations: 11.97 kB / 1.386 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.5837, allocations: 0 / 1.386 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.5838, allocations: 79.22 kB / 1.386 GB, free: 8.992 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5838, allocations: 0 / 1.386 GB, free: 8.992 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003985/0.5842, allocations: 60.03 kB / 1.386 GB, free: 8.934 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 (5): * Single equations (assignments): 5 * 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.000639/0.5848, allocations: 178.4 kB / 1.386 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.585, allocations: 27.98 kB / 1.386 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.585, allocations: 0 / 1.386 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/0.585, allocations: 19.92 kB / 1.386 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.5852, allocations: 5.031 kB / 1.386 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.5857, allocations: 140.6 kB / 1.386 GB, free: 8.543 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.586, allocations: 0.677 MB / 1.387 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.236e-05/0.586, allocations: 15.98 kB / 1.387 GB, free: 7.824 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.5861, allocations: 7.438 kB / 1.387 GB, free: 7.816 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5861, allocations: 0 / 1.387 GB, free: 7.816 MB / 0.8855 GB Notification: Performance of Templates: time 0.003909/0.59, allocations: 0.9993 MB / 1.388 GB, free: 6.82 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches