Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.681/1.681, allocations: 249.5 MB / 257 MB, free: 7.023 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.001394/0.001394, allocations: 192.8 kB / 316.3 MB, free: 3.301 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.838/1.838, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.001044/0.001045, allocations: 107.8 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.802e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.345, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.363, allocations: 133.6 MB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/1.364, allocations: 86.86 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008444/1.372, allocations: 2.636 MB / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/1.372, allocations: 0 / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.693e-06/1.372, allocations: 0 / 1.018 GB, free: 2.047 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004135/1.373, allocations: 362.1 kB / 1.019 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/1.373, allocations: 8.031 kB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/1.373, allocations: 4 kB / 1.019 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/1.373, allocations: 168.6 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.93e-05/1.373, allocations: 29.7 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/1.373, allocations: 0 / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.124e-05/1.373, allocations: 11.94 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.729e-05/1.373, allocations: 37.38 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.373, allocations: 0 / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.373, allocations: 0 / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/1.373, allocations: 11.98 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/1.373, allocations: 146 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/1.374, allocations: 36.48 kB / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/1.374, allocations: 16.73 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002913/1.374, allocations: 178.3 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/1.374, allocations: 42.5 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/1.374, allocations: 0 / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0005199/1.375, allocations: 93.16 kB / 1.019 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/1.375, allocations: 51.41 kB / 1.019 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.058e-05/1.375, allocations: 92.98 kB / 1.02 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/1.375, allocations: 25.7 kB / 1.02 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/1.375, allocations: 84.08 kB / 1.02 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/1.375, allocations: 19.72 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/1.375, allocations: 0 / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.375, allocations: 310.8 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/1.375, allocations: 7.75 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/1.375, allocations: 4 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/1.375, allocations: 55.61 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.375, allocations: 0 / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000352/1.376, allocations: 105.1 kB / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.376, allocations: 9.719 kB / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.376, allocations: 0 / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/1.376, allocations: 0 / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.472e-05/1.376, allocations: 11.98 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/1.376, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/1.376, allocations: 4 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/1.376, allocations: 0 / 1.02 GB, free: 15.98 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 8.045e-05/1.376, allocations: 104.9 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/1.376, allocations: 7.953 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/1.376, allocations: 105.9 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.376, allocations: 4 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/1.376, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/1.376, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/1.377, allocations: 134.2 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.377, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/1.377, allocations: 8 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/1.377, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/1.377, allocations: 3.953 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.377, allocations: 0 / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.377, allocations: 4 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/1.377, allocations: 132.8 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/1.377, allocations: 81.11 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/1.377, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.053e-05/1.377, allocations: 11.88 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/1.377, allocations: 4 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/1.377, allocations: 3.938 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.925e-05/1.377, allocations: 83.28 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.377, allocations: 0 / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002516/1.378, allocations: 39.92 kB / 1.021 GB, free: 15.21 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 (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 Backend phase and start with SimCode phase: time 0.0002424/1.378, allocations: 143.1 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.352e-05/1.378, allocations: 19.75 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.378, allocations: 3.875 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/1.378, allocations: 8 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/1.378, allocations: 11.98 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/1.378, allocations: 59.81 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/1.379, allocations: 0.6807 MB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.769e-05/1.379, allocations: 7.859 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/1.379, allocations: 15.42 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.379, allocations: 0 / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of Templates: time 0.003234/1.382, allocations: 0.9313 MB / 1.023 GB, free: 13.3 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches