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.378/1.378, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 179.7 kB / 326.5 MB, free: 2.262 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.672/1.672, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009427/0.0009433, allocations: 89.58 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 12 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2482, allocations: 106.3 MB / 0.9001 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/0.4309, allocations: 133.7 MB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.4313, allocations: 75.95 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008077/0.4394, allocations: 2.501 MB / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.146e-06/0.4394, allocations: 0 / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.4394, allocations: 4 kB / 1.033 GB, free: 7.539 MB / 0.6823 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.0005412/0.44, allocations: 410.9 kB / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.44, allocations: 12.02 kB / 1.034 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.4401, allocations: 4 kB / 1.034 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.4402, allocations: 166.9 kB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.4402, allocations: 12 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.4402, allocations: 0 / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.4405, allocations: 85.64 kB / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4405, allocations: 0 / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.4406, allocations: 7.938 kB / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4406, allocations: 4 kB / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.4409, allocations: 99.84 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.4413, allocations: 280.7 kB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.4415, allocations: 70.53 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.4417, allocations: 89.19 kB / 1.034 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.4417, allocations: 38.5 kB / 1.034 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4417, allocations: 3.938 kB / 1.034 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005347/0.4423, allocations: 161.6 kB / 1.035 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.4423, allocations: 55.36 kB / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.4424, allocations: 112.8 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.4424, allocations: 29.7 kB / 1.035 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.4425, allocations: 84.14 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.4425, allocations: 15.8 kB / 1.035 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.4425, allocations: 4 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4427, allocations: 314.8 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.4428, allocations: 43.95 kB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.443, allocations: 43.97 kB / 1.035 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.4431, allocations: 36.64 kB / 1.035 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4431, allocations: 3.938 kB / 1.035 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003192/0.4435, allocations: 121.6 kB / 1.035 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4435, allocations: 12 kB / 1.035 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4435, allocations: 0 / 1.035 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.4435, allocations: 0 / 1.035 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.4436, allocations: 19.98 kB / 1.035 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.4436, allocations: 3.984 kB / 1.035 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.825e-05/0.4437, allocations: 23.94 kB / 1.035 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.4438, allocations: 0 / 1.035 GB, free: 4.988 MB / 0.6823 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 (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.305e-05/0.4439, allocations: 117.8 kB / 1.036 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.4439, allocations: 3.906 kB / 1.036 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.4443, allocations: 133.8 kB / 1.036 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4443, allocations: 4.031 kB / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4443, allocations: 0 / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4443, allocations: 3.938 kB / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.4445, allocations: 177.6 kB / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.4445, allocations: 0 / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.4446, allocations: 23.98 kB / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4446, allocations: 0 / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.4446, allocations: 0 / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4446, allocations: 0 / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4446, allocations: 0 / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.445, allocations: 227.3 kB / 1.036 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.4451, allocations: 85.05 kB / 1.036 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.4451, allocations: 4 kB / 1.036 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.4452, allocations: 15.98 kB / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.4453, allocations: 7.984 kB / 1.036 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.4453, allocations: 4 kB / 1.036 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.4e-05/0.4453, allocations: 91.7 kB / 1.036 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4453, allocations: 0 / 1.036 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002466/0.4456, allocations: 35.94 kB / 1.036 GB, free: 3.973 MB / 0.6823 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 (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.0002236/0.4458, allocations: 135.2 kB / 1.036 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.4462, allocations: 95.92 kB / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.4462, allocations: 0 / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.4464, allocations: 51.91 kB / 1.037 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.4465, allocations: 14.33 kB / 1.037 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.4469, allocations: 172.6 kB / 1.037 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.4471, allocations: 0.6926 MB / 1.037 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.4472, allocations: 0 / 1.037 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.4472, allocations: 11.44 kB / 1.037 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of SimCode: time 2.9e-07/0.4472, allocations: 0 / 1.037 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of Templates: time 0.003404/0.4506, allocations: 1.15 MB / 1.039 GB, free: 1.609 MB / 0.6823 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