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.622/1.622, allocations: 249.3 MB / 261.8 MB, free: 5.992 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.001283/0.001283, allocations: 176.9 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.114/2.114, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.001058/0.001059, allocations: 93.2 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.091e-05/4.094e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2713, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9687/1.24, allocations: 133.3 MB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/1.241, allocations: 87.75 kB / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01174/1.252, allocations: 2.648 MB / 1.025 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.274e-06/1.252, allocations: 0 / 1.025 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.714e-06/1.252, allocations: 0 / 1.025 GB, free: 15.16 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.0004245/1.253, allocations: 358.1 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/1.253, allocations: 12.03 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/1.253, allocations: 4 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/1.253, allocations: 169.9 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-05/1.253, allocations: 33.69 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/1.253, allocations: 4 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/1.253, allocations: 45.36 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/1.253, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/1.253, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.253, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.415e-05/1.253, allocations: 15.81 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/1.254, allocations: 161.5 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/1.254, allocations: 44.33 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/1.254, allocations: 8.859 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003216/1.254, allocations: 181.9 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/1.254, allocations: 38.56 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/1.254, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0001666/1.254, allocations: 52.91 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/1.254, allocations: 51.41 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/1.255, allocations: 96.92 kB / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/1.255, allocations: 25.7 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/1.255, allocations: 80.14 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/1.255, allocations: 15.72 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/1.255, allocations: 0 / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.255, allocations: 318.8 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.639e-05/1.255, allocations: 4 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/1.255, allocations: 7.5 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/1.255, allocations: 15.92 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.255, allocations: 0 / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001116/1.255, allocations: 52.09 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.255, allocations: 8 kB / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.255, allocations: 0 / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/1.255, allocations: 3.938 kB / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/1.255, allocations: 8 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/1.255, allocations: 4 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/1.255, allocations: 0 / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/1.255, allocations: 0 / 1.026 GB, free: 13.18 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 7.829e-05/1.255, allocations: 116.3 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/1.255, allocations: 3.938 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/1.256, allocations: 60.92 kB / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.256, allocations: 0 / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/1.256, allocations: 0 / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/1.256, allocations: 4 kB / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/1.256, allocations: 161.1 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.256, allocations: 3.938 kB / 1.027 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/1.256, allocations: 7.984 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/1.256, allocations: 4 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/1.256, allocations: 3.125 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.256, allocations: 0 / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.256, allocations: 0.7031 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/1.256, allocations: 79.91 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/1.256, allocations: 89.05 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/1.256, allocations: 0 / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.24e-05/1.256, allocations: 0 / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/1.256, allocations: 7.984 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/1.256, allocations: 3.75 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.308e-05/1.256, allocations: 79.28 kB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.71e-07/1.256, allocations: 0 / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003613/1.257, allocations: 39.56 kB / 1.027 GB, free: 12.45 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.0002742/1.257, allocations: 151.1 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.208e-05/1.257, allocations: 15.25 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.257, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.639e-05/1.257, allocations: 19.8 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/1.257, allocations: 7.938 kB / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/1.258, allocations: 62.73 kB / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/1.258, allocations: 0.6809 MB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.755e-05/1.258, allocations: 11.84 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/1.258, allocations: 11.44 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of SimCode: time 4.21e-07/1.258, allocations: 0 / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of Templates: time 0.004482/1.263, allocations: 0.9518 MB / 1.029 GB, free: 10.52 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