Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001211/0.001211, allocations: 188.9 kB / 498.1 MB, free: 5.758 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.66/1.66, allocations: 223.2 MB / 0.7949 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.000943/0.0009433, allocations: 110.3 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003787, allocations: 6.938 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3505, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.366/4.717, allocations: 1.715 GB / 2.938 GB, free: 305.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/4.717, allocations: 80.83 kB / 2.938 GB, free: 305.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1067/4.824, allocations: 56.26 MB / 2.993 GB, free: 248.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.284e-06/4.824, allocations: 0 / 2.993 GB, free: 248.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.774e-05/4.824, allocations: 4 kB / 2.993 GB, free: 248.5 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009416/4.825, allocations: 478.8 kB / 2.993 GB, free: 248 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/4.825, allocations: 11.97 kB / 2.993 GB, free: 248 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000671/4.826, allocations: 55.84 kB / 2.993 GB, free: 247.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/4.826, allocations: 187 kB / 2.993 GB, free: 247.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/4.826, allocations: 8 kB / 2.993 GB, free: 247.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/4.826, allocations: 15.94 kB / 2.994 GB, free: 247.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/4.827, allocations: 188.4 kB / 2.994 GB, free: 247.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/4.827, allocations: 7.984 kB / 2.994 GB, free: 247.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/4.827, allocations: 4 kB / 2.994 GB, free: 247.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/4.827, allocations: 8 kB / 2.994 GB, free: 247.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005747/4.827, allocations: 160.4 kB / 2.994 GB, free: 247.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/4.828, allocations: 0.8254 MB / 2.995 GB, free: 246.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/4.829, allocations: 158.3 kB / 2.995 GB, free: 246.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/4.829, allocations: 0 / 2.995 GB, free: 246.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/4.829, allocations: 38.56 kB / 2.995 GB, free: 246.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/4.829, allocations: 0 / 2.995 GB, free: 246.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=8): time 0.001934/4.831, allocations: 491.3 kB / 2.995 GB, free: 245.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/4.831, allocations: 59.39 kB / 2.995 GB, free: 245.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/4.831, allocations: 122 kB / 2.995 GB, free: 245.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/4.831, allocations: 29.7 kB / 2.996 GB, free: 245.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/4.831, allocations: 116 kB / 2.996 GB, free: 245.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/4.831, allocations: 31.55 kB / 2.996 GB, free: 245.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/4.831, allocations: 0 / 2.996 GB, free: 245.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/4.831, allocations: 322.8 kB / 2.996 GB, free: 245 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/4.831, allocations: 83.94 kB / 2.996 GB, free: 244.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/4.832, allocations: 125.9 kB / 2.996 GB, free: 244.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/4.832, allocations: 87.92 kB / 2.996 GB, free: 244.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/4.832, allocations: 0 / 2.996 GB, free: 244.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009871/4.833, allocations: 310.1 kB / 2.997 GB, free: 244.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/4.833, allocations: 4 kB / 2.997 GB, free: 244.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/4.833, allocations: 0 / 2.997 GB, free: 244.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006199/4.834, allocations: 88.89 kB / 2.997 GB, free: 244.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/4.834, allocations: 39.95 kB / 2.997 GB, free: 244.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/4.836, allocations: 1.563 MB / 2.998 GB, free: 242.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/4.836, allocations: 35.98 kB / 2.998 GB, free: 242.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/4.836, allocations: 7.984 kB / 2.998 GB, free: 242.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001301/4.836, allocations: 118.4 kB / 2.998 GB, free: 242.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/4.836, allocations: 15.8 kB / 2.998 GB, free: 242.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/4.838, allocations: 338.9 kB / 2.999 GB, free: 242 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/4.838, allocations: 4 kB / 2.999 GB, free: 242 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/4.838, allocations: 4 kB / 2.999 GB, free: 242 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/4.838, allocations: 3.938 kB / 2.999 GB, free: 242 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/4.838, allocations: 229.4 kB / 2.999 GB, free: 241.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/4.838, allocations: 0 / 2.999 GB, free: 241.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/4.838, allocations: 47.91 kB / 2.999 GB, free: 241.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005914/4.839, allocations: 88.69 kB / 2.999 GB, free: 241.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/4.839, allocations: 7.984 kB / 2.999 GB, free: 241.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/4.841, allocations: 1.587 MB / 3.001 GB, free: 239.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/4.841, allocations: 0 / 3.001 GB, free: 239.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/4.842, allocations: 396.1 kB / 3.001 GB, free: 239.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/4.842, allocations: 84.92 kB / 3.001 GB, free: 239.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/4.842, allocations: 8 kB / 3.001 GB, free: 239.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/4.842, allocations: 24.25 kB / 3.001 GB, free: 239.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/4.842, allocations: 15.98 kB / 3.001 GB, free: 239.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/4.842, allocations: 7.922 kB / 3.001 GB, free: 239.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 6.651e-05/4.842, allocations: 104.8 kB / 3.001 GB, free: 239.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/4.842, allocations: 0 / 3.001 GB, free: 239.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006231/4.843, allocations: 95.88 kB / 3.001 GB, free: 239.1 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008984/4.844, allocations: 0.6167 MB / 3.002 GB, free: 238.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008441/4.845, allocations: 322.7 kB / 3.002 GB, free: 238.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/4.845, allocations: 0 / 3.002 GB, free: 238.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004597/4.845, allocations: 242.6 kB / 3.002 GB, free: 237.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/4.845, allocations: 27.92 kB / 3.002 GB, free: 237.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007897/4.846, allocations: 356.8 kB / 3.003 GB, free: 237.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/4.846, allocations: 0.7127 MB / 3.004 GB, free: 236.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001731/4.847, allocations: 24.88 kB / 3.004 GB, free: 236.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/4.847, allocations: 15.44 kB / 3.004 GB, free: 236.7 MB / 1.167 GB Notification: Performance of SimCode: time 4.61e-07/4.847, allocations: 0 / 3.004 GB, free: 236.7 MB / 1.167 GB Notification: Performance of Templates: time 0.01423/4.861, allocations: 10.57 MB / 3.014 GB, free: 226.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches