Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.1/2.1, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001098/0.001098, allocations: 176.9 kB / 487.4 MB, free: 5.047 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.411/1.411, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008715/0.0008715, allocations: 95.84 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.805e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2509, allocations: 142.3 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8333/1.084, allocations: 150.2 MB / 1.353 GB, free: 18.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/1.084, allocations: 79.7 kB / 1.353 GB, free: 18.35 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008084/1.093, allocations: 2.691 MB / 1.355 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.293e-06/1.093, allocations: 0 / 1.355 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.111e-06/1.093, allocations: 0 / 1.355 GB, free: 33.91 MB / 0.8386 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.0002982/1.093, allocations: 360 kB / 1.356 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/1.093, allocations: 8.219 kB / 1.356 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/1.093, allocations: 5.031 kB / 1.356 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.948e-05/1.093, allocations: 171.3 kB / 1.356 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.24e-05/1.093, allocations: 30.3 kB / 1.356 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/1.093, allocations: 7.875 kB / 1.356 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.302e-05/1.093, allocations: 8.781 kB / 1.356 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.596e-05/1.093, allocations: 39.86 kB / 1.356 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/1.093, allocations: 0 / 1.356 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/1.093, allocations: 7.984 kB / 1.356 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/1.093, allocations: 0 / 1.356 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/1.093, allocations: 141.3 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/1.094, allocations: 42.69 kB / 1.356 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/1.094, allocations: 16.86 kB / 1.356 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/1.094, allocations: 181.2 kB / 1.356 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/1.094, allocations: 31.36 kB / 1.356 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/1.094, allocations: 3.844 kB / 1.356 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0004678/1.094, allocations: 90.48 kB / 1.356 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/1.094, allocations: 55.86 kB / 1.356 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.843e-05/1.094, allocations: 89.36 kB / 1.357 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.016e-06/1.094, allocations: 26.45 kB / 1.357 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/1.094, allocations: 88.11 kB / 1.357 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/1.095, allocations: 16.22 kB / 1.357 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/1.095, allocations: 0 / 1.357 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.01e-05/1.095, allocations: 311.4 kB / 1.357 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/1.095, allocations: 7 kB / 1.357 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.214e-05/1.095, allocations: 11.48 kB / 1.357 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/1.095, allocations: 56.2 kB / 1.357 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.095, allocations: 0 / 1.357 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003289/1.095, allocations: 98.81 kB / 1.357 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/1.095, allocations: 3.844 kB / 1.357 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/1.095, allocations: 0 / 1.357 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.095, allocations: 0.75 kB / 1.357 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.239e-05/1.095, allocations: 9.047 kB / 1.357 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/1.095, allocations: 0 / 1.357 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/1.095, allocations: 4.406 kB / 1.357 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/1.095, allocations: 0.7031 kB / 1.357 GB, free: 32.17 MB / 0.8386 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 5.638e-05/1.096, allocations: 101 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/1.096, allocations: 12.45 kB / 1.357 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/1.096, allocations: 109.3 kB / 1.357 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/1.096, allocations: 0 / 1.357 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/1.096, allocations: 3.938 kB / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/1.096, allocations: 0.7031 kB / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.95e-05/1.096, allocations: 142.1 kB / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.096, allocations: 0.5625 kB / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.561e-05/1.096, allocations: 5.484 kB / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.096, allocations: 0 / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/1.096, allocations: 11.73 kB / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.096, allocations: 4.562 kB / 1.358 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.096, allocations: 0 / 1.358 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/1.097, allocations: 124.3 kB / 1.358 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/1.097, allocations: 82.92 kB / 1.358 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/1.097, allocations: 0.6094 kB / 1.358 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/1.097, allocations: 5.219 kB / 1.358 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/1.097, allocations: 9.812 kB / 1.358 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/1.097, allocations: 0 / 1.358 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.232e-05/1.097, allocations: 82.97 kB / 1.358 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.097, allocations: 0 / 1.358 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002113/1.097, allocations: 33.08 kB / 1.358 GB, free: 31.58 MB / 0.8386 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.0002062/1.097, allocations: 141 kB / 1.358 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.874e-05/1.097, allocations: 22.48 kB / 1.358 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.097, allocations: 0 / 1.358 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.972e-05/1.097, allocations: 19.73 kB / 1.358 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/1.097, allocations: 2.688 kB / 1.358 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001609/1.098, allocations: 59.95 kB / 1.358 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/1.098, allocations: 0.6764 MB / 1.359 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.509e-05/1.098, allocations: 12.56 kB / 1.359 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/1.098, allocations: 11.89 kB / 1.359 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/1.098, allocations: 3.938 kB / 1.359 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of Templates: time 0.002763/1.101, allocations: 0.9148 MB / 1.36 GB, free: 30.59 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches