Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.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.46/1.46, allocations: 249.3 MB / 261.9 MB, free: 5.91 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.001086/0.001086, allocations: 180.9 kB / 321.3 MB, free: 14.64 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.083/2.083, 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.001023/0.001023, allocations: 82.55 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.893e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2598, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8654/1.125, allocations: 133.6 MB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/1.126, allocations: 72.66 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008131/1.134, allocations: 2.513 MB / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.104e-06/1.134, allocations: 0 / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.598e-06/1.134, allocations: 4 kB / 1.025 GB, free: 14.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005207/1.134, allocations: 391.9 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.134, allocations: 12.03 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/1.134, allocations: 7.906 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/1.135, allocations: 175 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/1.135, allocations: 4 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/1.135, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/1.135, allocations: 49.06 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/1.135, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/1.135, allocations: 3.062 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/1.135, allocations: 4 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.472e-05/1.135, allocations: 23.25 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/1.135, allocations: 286.9 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.578e-05/1.135, allocations: 28.89 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/1.136, allocations: 19.41 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/1.136, allocations: 89.19 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/1.136, allocations: 42.38 kB / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 3.085e-06/1.136, allocations: 3.984 kB / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0001995/1.136, allocations: 55.09 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/1.136, allocations: 55.36 kB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/1.136, allocations: 106 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/1.136, allocations: 29.7 kB / 1.026 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/1.136, allocations: 90.12 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/1.136, allocations: 15.91 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/1.136, allocations: 0 / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.136, allocations: 317.7 kB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.929e-05/1.136, allocations: 11.42 kB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.31e-05/1.137, allocations: 11.12 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.938e-05/1.137, allocations: 7.562 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.137, allocations: 3.938 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.824e-05/1.137, allocations: 59.09 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.137, allocations: 4 kB / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.137, allocations: 0 / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/1.137, allocations: 0 / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/1.137, allocations: 27.05 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/1.137, allocations: 0 / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.931e-05/1.137, allocations: 23.88 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/1.137, allocations: 4 kB / 1.027 GB, free: 12.81 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 (3): * Single equations (assignments): 3 * 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.768e-05/1.137, allocations: 105 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/1.137, allocations: 7.984 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/1.137, allocations: 63.31 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.137, allocations: 4 kB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.137, allocations: 4 kB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.137, allocations: 0 / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/1.138, allocations: 173 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/1.138, allocations: 0 / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/1.138, allocations: 27.73 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/1.138, allocations: 0 / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/1.138, allocations: 3.984 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.138, allocations: 0 / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/1.138, allocations: 0 / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/1.138, allocations: 156.6 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/1.138, allocations: 81.02 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/1.138, allocations: 0 / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/1.138, allocations: 19.98 kB / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/1.138, allocations: 7.984 kB / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/1.138, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.621e-05/1.138, allocations: 92.28 kB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.1e-07/1.138, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002636/1.138, allocations: 39.92 kB / 1.027 GB, free: 11.98 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 (3): * Single equations (assignments): 3 * 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.0002381/1.139, allocations: 135 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.671e-05/1.139, allocations: 17.66 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.139, allocations: 4 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.01e-05/1.139, allocations: 19.83 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/1.139, allocations: 11.48 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/1.139, allocations: 80.72 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/1.14, allocations: 0.6926 MB / 1.028 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.612e-05/1.14, allocations: 4.812 kB / 1.028 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/1.14, allocations: 11.44 kB / 1.028 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/1.14, allocations: 0 / 1.028 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of Templates: time 0.003642/1.143, allocations: 1.141 MB / 1.029 GB, free: 9.848 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches