Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001068/0.001068, allocations: 183.2 kB / 498.1 MB, free: 5.746 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.514/1.514, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009529/0.000953, allocations: 103.8 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004098, allocations: 12.12 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3242, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.664/4.989, allocations: 1.731 GB / 2.954 GB, free: 254.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/4.989, allocations: 91.62 kB / 2.954 GB, free: 254.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1623/5.151, allocations: 86.53 MB / 3.039 GB, free: 181.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.635e-06/5.151, allocations: 0 / 3.039 GB, free: 181.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.669e-05/5.151, allocations: 4 kB / 3.039 GB, free: 181.3 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.0008653/5.152, allocations: 0.5028 MB / 3.039 GB, free: 180.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/5.152, allocations: 8.031 kB / 3.039 GB, free: 180.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008446/5.153, allocations: 83.72 kB / 3.039 GB, free: 180.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/5.153, allocations: 226.9 kB / 3.039 GB, free: 180.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.117e-05/5.153, allocations: 42.03 kB / 3.039 GB, free: 180.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/5.154, allocations: 12 kB / 3.039 GB, free: 180.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/5.154, allocations: 268.3 kB / 3.04 GB, free: 180.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/5.154, allocations: 0 / 3.04 GB, free: 180.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/5.154, allocations: 8 kB / 3.04 GB, free: 180.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/5.154, allocations: 4 kB / 3.04 GB, free: 180.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/5.155, allocations: 179.8 kB / 3.04 GB, free: 179.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/5.156, allocations: 1.181 MB / 3.041 GB, free: 178.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000751/5.157, allocations: 226.6 kB / 3.041 GB, free: 178.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/5.157, allocations: 4.219 kB / 3.041 GB, free: 178.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/5.157, allocations: 42.44 kB / 3.041 GB, free: 178.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/5.157, allocations: 0 / 3.041 GB, free: 178.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=12): time 0.002609/5.159, allocations: 0.6454 MB / 3.042 GB, free: 177.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/5.16, allocations: 55.41 kB / 3.042 GB, free: 177.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/5.16, allocations: 177.5 kB / 3.042 GB, free: 177.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/5.16, allocations: 25.7 kB / 3.042 GB, free: 177.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/5.16, allocations: 135.6 kB / 3.042 GB, free: 177.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/5.16, allocations: 51.3 kB / 3.042 GB, free: 177.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/5.16, allocations: 4 kB / 3.042 GB, free: 177.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.038e-05/5.16, allocations: 326.8 kB / 3.043 GB, free: 176.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/5.16, allocations: 72.33 kB / 3.043 GB, free: 176.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/5.16, allocations: 150 kB / 3.043 GB, free: 176.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/5.161, allocations: 80 kB / 3.043 GB, free: 176.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/5.161, allocations: 7.938 kB / 3.043 GB, free: 176.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0014/5.162, allocations: 383 kB / 3.043 GB, free: 176.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/5.162, allocations: 8.031 kB / 3.043 GB, free: 176.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/5.162, allocations: 4 kB / 3.043 GB, free: 176.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/5.163, allocations: 165.5 kB / 3.043 GB, free: 176 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/5.163, allocations: 47.95 kB / 3.043 GB, free: 175.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003431/5.167, allocations: 3.058 MB / 3.046 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/5.167, allocations: 35.8 kB / 3.047 GB, free: 172.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/5.167, allocations: 15.98 kB / 3.047 GB, free: 172.5 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.0001666/5.168, allocations: 125.8 kB / 3.047 GB, free: 172.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.03e-05/5.168, allocations: 15.81 kB / 3.047 GB, free: 172.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/5.169, allocations: 388.2 kB / 3.047 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/5.169, allocations: 4 kB / 3.047 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/5.169, allocations: 0 / 3.047 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/5.169, allocations: 4.266 kB / 3.047 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/5.169, allocations: 273.4 kB / 3.047 GB, free: 171.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/5.169, allocations: 0 / 3.047 GB, free: 171.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/5.169, allocations: 19.98 kB / 3.047 GB, free: 171.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009546/5.17, allocations: 177.5 kB / 3.047 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/5.17, allocations: 0 / 3.047 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002905/5.173, allocations: 3.104 MB / 3.051 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/5.173, allocations: 0 / 3.051 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/5.175, allocations: 441.9 kB / 3.051 GB, free: 167.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/5.175, allocations: 116.8 kB / 3.051 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/5.175, allocations: 11.98 kB / 3.051 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/5.175, allocations: 11.98 kB / 3.051 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/5.175, allocations: 15.98 kB / 3.051 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/5.175, allocations: 7.984 kB / 3.051 GB, free: 167.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001536/5.175, allocations: 150.7 kB / 3.051 GB, free: 167.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/5.175, allocations: 4 kB / 3.051 GB, free: 167.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006942/5.176, allocations: 135.8 kB / 3.051 GB, free: 167.2 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.001122/5.177, allocations: 0.7055 MB / 3.052 GB, free: 166.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009921/5.178, allocations: 466.6 kB / 3.053 GB, free: 166 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/5.178, allocations: 4 kB / 3.053 GB, free: 166 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005657/5.179, allocations: 357.3 kB / 3.053 GB, free: 165.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/5.179, allocations: 61.95 kB / 3.053 GB, free: 165.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008413/5.18, allocations: 468.4 kB / 3.053 GB, free: 165.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/5.18, allocations: 0.7401 MB / 3.054 GB, free: 164.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001931/5.18, allocations: 37.92 kB / 3.054 GB, free: 164.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/5.18, allocations: 23.42 kB / 3.054 GB, free: 164.2 MB / 1.167 GB Notification: Performance of SimCode: time 6.61e-07/5.18, allocations: 0 / 3.054 GB, free: 164.2 MB / 1.167 GB Notification: Performance of Templates: time 0.0183/5.199, allocations: 14.13 MB / 3.068 GB, free: 150.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches