Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.245/2.245, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001369/0.001369, allocations: 178.5 kB / 0.4902 GB, free: 2.27 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.819/1.819, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.001016/0.001016, allocations: 104.1 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003615, allocations: 10.5 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3036, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.614/4.917, allocations: 1.732 GB / 2.961 GB, free: 256.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004109/4.918, allocations: 88.56 kB / 2.961 GB, free: 256 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1722/5.09, allocations: 86.53 MB / 3.046 GB, free: 167.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.944e-06/5.09, allocations: 4 kB / 3.046 GB, free: 167.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.794e-05/5.09, allocations: 4 kB / 3.046 GB, free: 167.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0011/5.091, allocations: 0.5069 MB / 3.046 GB, free: 167.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/5.091, allocations: 8.031 kB / 3.046 GB, free: 167.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008762/5.092, allocations: 79.64 kB / 3.046 GB, free: 167.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/5.093, allocations: 226.7 kB / 3.046 GB, free: 166.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.843e-05/5.093, allocations: 42.03 kB / 3.046 GB, free: 166.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/5.093, allocations: 16 kB / 3.047 GB, free: 166.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/5.093, allocations: 267 kB / 3.047 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/5.093, allocations: 0 / 3.047 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/5.093, allocations: 8 kB / 3.047 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/5.093, allocations: 8 kB / 3.047 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/5.094, allocations: 176.3 kB / 3.047 GB, free: 166.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/5.096, allocations: 1.192 MB / 3.048 GB, free: 165.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/5.096, allocations: 210.7 kB / 3.048 GB, free: 164.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/5.096, allocations: 0 / 3.048 GB, free: 164.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/5.096, allocations: 42.5 kB / 3.048 GB, free: 164.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/5.096, allocations: 0 / 3.048 GB, free: 164.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=12): time 0.002813/5.099, allocations: 0.6454 MB / 3.049 GB, free: 164.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/5.099, allocations: 55.62 kB / 3.049 GB, free: 164 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/5.1, allocations: 181.4 kB / 3.049 GB, free: 163.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/5.1, allocations: 29.7 kB / 3.049 GB, free: 163.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/5.1, allocations: 143.5 kB / 3.049 GB, free: 163.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/5.1, allocations: 39.45 kB / 3.049 GB, free: 163.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/5.1, allocations: 3.938 kB / 3.049 GB, free: 163.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.54e-05/5.1, allocations: 326.8 kB / 3.05 GB, free: 163.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/5.1, allocations: 76.31 kB / 3.05 GB, free: 163.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/5.1, allocations: 142.8 kB / 3.05 GB, free: 163.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/5.101, allocations: 95.92 kB / 3.05 GB, free: 163 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/5.101, allocations: 0 / 3.05 GB, free: 163 MB / 1.167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001773/5.103, allocations: 390.7 kB / 3.05 GB, free: 162.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/5.103, allocations: 4 kB / 3.05 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.056e-05/5.103, allocations: 4 kB / 3.05 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/5.104, allocations: 165.8 kB / 3.051 GB, free: 162.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/5.104, allocations: 39.91 kB / 3.051 GB, free: 162.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/5.108, allocations: 3.064 MB / 3.054 GB, free: 159 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/5.108, allocations: 35.73 kB / 3.054 GB, free: 159 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/5.108, allocations: 8 kB / 3.054 GB, free: 159 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001315/5.108, allocations: 134.7 kB / 3.054 GB, free: 158.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/5.108, allocations: 15.81 kB / 3.054 GB, free: 158.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/5.109, allocations: 384.2 kB / 3.054 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/5.109, allocations: 4 kB / 3.054 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/5.109, allocations: 0 / 3.054 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/5.109, allocations: 336 / 3.054 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/5.11, allocations: 277.2 kB / 3.054 GB, free: 158.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/5.11, allocations: 0 / 3.054 GB, free: 158.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/5.11, allocations: 27.98 kB / 3.054 GB, free: 158.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00098/5.111, allocations: 169.5 kB / 3.055 GB, free: 157.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/5.111, allocations: 7.984 kB / 3.055 GB, free: 157.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002936/5.114, allocations: 3.096 MB / 3.058 GB, free: 154.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/5.114, allocations: 0 / 3.058 GB, free: 154.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/5.115, allocations: 461.7 kB / 3.058 GB, free: 154.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/5.115, allocations: 112.8 kB / 3.058 GB, free: 153.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/5.115, allocations: 4 kB / 3.058 GB, free: 153.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/5.116, allocations: 23.98 kB / 3.058 GB, free: 153.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/5.116, allocations: 15.97 kB / 3.058 GB, free: 153.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/5.116, allocations: 8 kB / 3.058 GB, free: 153.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001535/5.116, allocations: 151 kB / 3.058 GB, free: 153.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/5.116, allocations: 0 / 3.058 GB, free: 153.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006568/5.117, allocations: 127.9 kB / 3.059 GB, free: 153.6 MB / 1.167 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001048/5.118, allocations: 0.7095 MB / 3.059 GB, free: 152.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001057/5.119, allocations: 453.5 kB / 3.06 GB, free: 152.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/5.119, allocations: 0 / 3.06 GB, free: 152.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006119/5.119, allocations: 365.2 kB / 3.06 GB, free: 152 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/5.12, allocations: 57.56 kB / 3.06 GB, free: 152 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009146/5.121, allocations: 479 kB / 3.06 GB, free: 151.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/5.121, allocations: 0.7361 MB / 3.061 GB, free: 150.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002176/5.121, allocations: 41.92 kB / 3.061 GB, free: 150.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/5.121, allocations: 19.44 kB / 3.061 GB, free: 150.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.9e-07/5.121, allocations: 0 / 3.061 GB, free: 150.7 MB / 1.167 GB Notification: Performance of Templates: time 0.02033/5.141, allocations: 14.15 MB / 3.075 GB, free: 136.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches