Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.383/2.383, 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.001104/0.001104, allocations: 176 kB / 0.4902 GB, free: 2.219 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.65/1.65, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.001103/0.001103, allocations: 96.31 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.00048, allocations: 7.438 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3697, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.206/0.5758, allocations: 151.7 MB / 1.377 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/0.5762, allocations: 79.95 kB / 1.377 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009031/0.5852, allocations: 2.722 MB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5853, allocations: 0 / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.046e-06/0.5853, allocations: 0 / 1.38 GB, free: 14.98 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.0004202/0.5857, allocations: 359.8 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.5858, allocations: 8.031 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.5858, allocations: 15.88 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.586, allocations: 163 kB / 1.381 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.964e-05/0.5861, allocations: 33.64 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.5861, allocations: 7.984 kB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.5862, allocations: 41.69 kB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5862, allocations: 0 / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.5863, allocations: 0 / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.5863, allocations: 7.984 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/0.5864, allocations: 15.98 kB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.5866, allocations: 161.6 kB / 1.381 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.5868, allocations: 54.5 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.5871, allocations: 178.3 kB / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.5871, allocations: 34.56 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.5871, allocations: 0 / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002491/0.5874, allocations: 61.67 kB / 1.381 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.5875, allocations: 59.41 kB / 1.381 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.927e-05/0.5875, allocations: 89 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.5876, allocations: 29.7 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.5876, allocations: 80.14 kB / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.5876, allocations: 11.75 kB / 1.381 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-06/0.5876, allocations: 4 kB / 1.381 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5878, allocations: 318.8 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.523e-05/0.5878, allocations: 11.94 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-05/0.5879, allocations: 15.98 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.5879, allocations: 8 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5879, allocations: 0 / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001206/0.5881, allocations: 57.67 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.5881, allocations: 4 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5881, allocations: 4 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.5881, allocations: 0 / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.076e-05/0.5882, allocations: 4 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.5882, allocations: 0 / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.5882, allocations: 8 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.5882, allocations: 0 / 1.382 GB, free: 12.91 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 9.005e-05/0.5883, allocations: 126.5 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.5883, allocations: 0 / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.5885, allocations: 73.53 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.5885, allocations: 0 / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.5885, allocations: 0 / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5886, allocations: 4.031 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.5887, allocations: 165.6 kB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5887, allocations: 0 / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.5887, allocations: 12 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5888, allocations: 0 / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.5888, allocations: 3.984 kB / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5888, allocations: 0 / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5888, allocations: 4 kB / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.5889, allocations: 85.02 kB / 1.382 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.589, allocations: 89.09 kB / 1.382 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.589, allocations: 0 / 1.382 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.762e-05/0.5891, allocations: 4 kB / 1.382 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.5891, allocations: 7.922 kB / 1.382 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.5891, allocations: 0 / 1.382 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.5892, allocations: 79.28 kB / 1.383 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5892, allocations: 0 / 1.383 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002212/0.5894, allocations: 35.94 kB / 1.383 GB, free: 12.14 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 (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.0002463/0.5897, allocations: 143.2 kB / 1.383 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.5898, allocations: 31.91 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5898, allocations: 0 / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/0.5899, allocations: 12 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.5901, allocations: 9.016 kB / 1.383 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.5904, allocations: 146.5 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.5906, allocations: 0.677 MB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.752e-05/0.5907, allocations: 4 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.5907, allocations: 19.38 kB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/0.5907, allocations: 4 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of Templates: time 0.003108/0.5938, allocations: 0.926 MB / 1.384 GB, free: 10.11 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches