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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.657/1.657, allocations: 249.3 MB / 261.8 MB, free: 5.863 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.001213/0.001213, allocations: 182.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.1 MB / 0.572 GB, free: 10.61 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.001077/0.001077, allocations: 90.45 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.719e-05/4.721e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2943, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9014/1.196, allocations: 133.1 MB / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/1.196, allocations: 85.38 kB / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01814/1.214, allocations: 6.172 MB / 1.028 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.527e-06/1.214, allocations: 4 kB / 1.028 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.135e-06/1.214, allocations: 0 / 1.028 GB, free: 12.39 MB / 0.6511 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.0003876/1.215, allocations: 365.9 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.215, allocations: 8.031 kB / 1.028 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/1.215, allocations: 4 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/1.215, allocations: 174.3 kB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/1.215, allocations: 0 / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/1.215, allocations: 4 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/1.215, allocations: 53.05 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/1.215, allocations: 0 / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/1.215, allocations: 0 / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/1.215, allocations: 0 / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.863e-05/1.215, allocations: 15.38 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/1.215, allocations: 160.8 kB / 1.029 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/1.216, allocations: 125.3 kB / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/1.216, allocations: 19.92 kB / 1.029 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/1.216, allocations: 85.11 kB / 1.029 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/1.216, allocations: 38.64 kB / 1.029 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/1.216, allocations: 0 / 1.029 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0001314/1.217, allocations: 48.44 kB / 1.029 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/1.217, allocations: 55.41 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.75e-05/1.217, allocations: 85 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/1.217, allocations: 25.7 kB / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.605e-05/1.217, allocations: 84.27 kB / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/1.217, allocations: 15.38 kB / 1.029 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/1.217, allocations: 0 / 1.029 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.217, allocations: 310.8 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.075e-05/1.217, allocations: 15.11 kB / 1.029 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.617e-05/1.217, allocations: 11.5 kB / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.748e-05/1.217, allocations: 8 kB / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.217, allocations: 3.953 kB / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.055e-05/1.217, allocations: 52.5 kB / 1.03 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.217, allocations: 9.719 kB / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.217, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/1.217, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/1.217, allocations: 15.98 kB / 1.03 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.217, allocations: 0 / 1.03 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/1.217, allocations: 0 / 1.03 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/1.217, allocations: 3.25 kB / 1.03 GB, free: 10.47 MB / 0.6511 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 (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 6.446e-05/1.217, allocations: 108.9 kB / 1.03 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/1.217, allocations: 7.859 kB / 1.03 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/1.218, allocations: 87.41 kB / 1.03 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.218, allocations: 0 / 1.03 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.218, allocations: 0 / 1.03 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.218, allocations: 192 / 1.03 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/1.218, allocations: 165 kB / 1.03 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.218, allocations: 3.984 kB / 1.03 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/1.218, allocations: 11.95 kB / 1.03 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.218, allocations: 4 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/1.218, allocations: 3.438 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/1.218, allocations: 0 / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/1.218, allocations: 0 / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/1.218, allocations: 83.44 kB / 1.03 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/1.218, allocations: 89 kB / 1.03 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/1.218, allocations: 3.953 kB / 1.03 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.999e-05/1.218, allocations: 4 kB / 1.03 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/1.218, allocations: 4 kB / 1.03 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/1.218, allocations: 3.625 kB / 1.03 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.129e-05/1.218, allocations: 79.27 kB / 1.03 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.218, allocations: 4 kB / 1.03 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002551/1.218, allocations: 47.94 kB / 1.03 GB, free: 9.707 MB / 0.6511 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 (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.0003372/1.219, allocations: 182.3 kB / 1.03 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.988e-05/1.219, allocations: 26.69 kB / 1.03 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.219, allocations: 3.938 kB / 1.03 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.643e-05/1.219, allocations: 19.8 kB / 1.03 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/1.219, allocations: 10.31 kB / 1.03 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/1.219, allocations: 64.67 kB / 1.031 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/1.219, allocations: 0.677 MB / 1.031 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.064e-05/1.219, allocations: 11.94 kB / 1.031 GB, free: 8.691 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/1.22, allocations: 11.44 kB / 1.031 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of SimCode: time 2.224e-06/1.22, allocations: 0 / 1.031 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of Templates: time 0.00277/1.222, allocations: 1.012 MB / 1.032 GB, free: 7.691 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches