Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 109.7 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.612/2.612, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 64.12 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9328/0.9342, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003285/0.9376, allocations: 1.678 MB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1675/1.105, allocations: 149.7 MB / 1.356 GB, free: 5.641 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/1.105, allocations: 0 / 1.356 GB, free: 5.641 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002072/1.106, allocations: 23.8 kB / 1.356 GB, free: 5.617 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003407/1.106, allocations: 55.58 kB / 1.356 GB, free: 5.562 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/1.107, allocations: 179.4 kB / 1.356 GB, free: 5.387 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002788/1.107, allocations: 163.5 kB / 1.357 GB, free: 5.227 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/1.107, allocations: 25.11 kB / 1.357 GB, free: 5.203 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/1.108, allocations: 210.6 kB / 1.357 GB, free: 5.02 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/1.109, allocations: 55.77 kB / 1.357 GB, free: 4.965 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/1.109, allocations: 12 kB / 1.357 GB, free: 4.953 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003578/1.109, allocations: 167.8 kB / 1.357 GB, free: 4.789 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/1.109, allocations: 19.92 kB / 1.357 GB, free: 4.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.689e-05/1.109, allocations: 55.72 kB / 1.357 GB, free: 4.715 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004699/1.11, allocations: 213 kB / 1.357 GB, free: 4.512 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.11, allocations: 0 / 1.357 GB, free: 4.512 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.154e-06/1.11, allocations: 0 / 1.357 GB, free: 4.512 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.753e-06/1.11, allocations: 0 / 1.357 GB, free: 4.512 MB / 1.076 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.0009674/1.111, allocations: 467 kB / 1.358 GB, free: 4.008 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.111, allocations: 8.031 kB / 1.358 GB, free: 4 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006902/1.111, allocations: 60.69 kB / 1.358 GB, free: 3.941 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/1.112, allocations: 202.8 kB / 1.358 GB, free: 3.703 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/1.112, allocations: 4 kB / 1.358 GB, free: 3.699 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/1.112, allocations: 8 kB / 1.358 GB, free: 3.691 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004581/1.112, allocations: 187.8 kB / 1.358 GB, free: 3.488 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.112, allocations: 0 / 1.358 GB, free: 3.488 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/1.112, allocations: 4 kB / 1.358 GB, free: 3.484 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.112, allocations: 0 / 1.358 GB, free: 3.484 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/1.113, allocations: 147.8 kB / 1.358 GB, free: 3.34 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/1.114, allocations: 0.8167 MB / 1.359 GB, free: 2.445 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/1.114, allocations: 138.4 kB / 1.359 GB, free: 2.301 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/1.115, allocations: 80.78 kB / 1.359 GB, free: 2.219 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/1.115, allocations: 4 kB / 1.359 GB, free: 2.215 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/1.115, allocations: 34.72 kB / 1.359 GB, free: 2.172 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/1.115, allocations: 4 kB / 1.359 GB, free: 2.168 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001919/1.117, allocations: 455.1 kB / 1.36 GB, free: 1.695 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/1.117, allocations: 55.41 kB / 1.36 GB, free: 1.629 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/1.117, allocations: 148 kB / 1.36 GB, free: 1.477 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/1.117, allocations: 29.7 kB / 1.36 GB, free: 1.441 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/1.117, allocations: 108.2 kB / 1.36 GB, free: 1.332 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/1.117, allocations: 35.55 kB / 1.36 GB, free: 1.297 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.332e-05/1.117, allocations: 29.7 kB / 1.36 GB, free: 1.262 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.117, allocations: 318.8 kB / 1.361 GB, free: 0.9414 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/1.117, allocations: 75.88 kB / 1.361 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/1.118, allocations: 108.2 kB / 1.361 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/1.118, allocations: 172.1 kB / 1.361 GB, free: 0.5625 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.118, allocations: 3.938 kB / 1.361 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00103/1.119, allocations: 278.1 kB / 1.361 GB, free: 284 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.119, allocations: 17.8 kB / 1.361 GB, free: 268 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.119, allocations: 8.125 kB / 1.361 GB, free: 260 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/1.12, allocations: 84.7 kB / 1.361 GB, free: 172 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/1.12, allocations: 35.97 kB / 1.361 GB, free: 136 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/1.122, allocations: 1.651 MB / 1.363 GB, free: 14.33 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/1.122, allocations: 27.83 kB / 1.363 GB, free: 14.3 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/1.122, allocations: 7.984 kB / 1.363 GB, free: 14.3 MB / 1.092 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.123, allocations: 121.7 kB / 1.363 GB, free: 14.17 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/1.123, allocations: 15.91 kB / 1.363 GB, free: 14.15 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/1.124, allocations: 314.9 kB / 1.363 GB, free: 13.84 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.124, allocations: 0 / 1.363 GB, free: 13.84 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.124, allocations: 0 / 1.363 GB, free: 13.84 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/1.124, allocations: 8 kB / 1.363 GB, free: 13.83 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/1.124, allocations: 249.4 kB / 1.364 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.124, allocations: 0 / 1.364 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/1.124, allocations: 27.97 kB / 1.364 GB, free: 13.51 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/1.125, allocations: 76.77 kB / 1.364 GB, free: 13.43 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/1.125, allocations: 3.938 kB / 1.364 GB, free: 13.43 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/1.127, allocations: 1.685 MB / 1.365 GB, free: 11.6 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.127, allocations: 0 / 1.365 GB, free: 11.6 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/1.128, allocations: 387.8 kB / 1.366 GB, free: 11.2 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/1.128, allocations: 104.9 kB / 1.366 GB, free: 11.08 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/1.128, allocations: 3.938 kB / 1.366 GB, free: 11.08 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/1.128, allocations: 27.91 kB / 1.366 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/1.128, allocations: 11.98 kB / 1.366 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/1.128, allocations: 7.938 kB / 1.366 GB, free: 11.03 MB / 1.092 GB Notification: Performance of sorting global known variables: time 8.041e-05/1.128, allocations: 112.9 kB / 1.366 GB, free: 10.92 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.128, allocations: 0 / 1.366 GB, free: 10.92 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003419/1.128, allocations: 43.91 kB / 1.366 GB, free: 10.88 MB / 1.092 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000192/1.129, allocations: 115.2 kB / 1.366 GB, free: 10.76 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0008777/1.13, allocations: 302.5 kB / 1.366 GB, free: 10.45 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.13, allocations: 4.25 kB / 1.366 GB, free: 10.45 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000521/1.13, allocations: 230.5 kB / 1.367 GB, free: 10.21 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/1.13, allocations: 24.53 kB / 1.367 GB, free: 10.18 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008362/1.131, allocations: 341.1 kB / 1.367 GB, free: 9.816 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/1.132, allocations: 0.7046 MB / 1.368 GB, free: 9.086 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.572e-05/1.132, allocations: 23.41 kB / 1.368 GB, free: 9.062 MB / 1.092 GB Notification: Performance of SimCode: time 3.11e-07/1.132, allocations: 0 / 1.368 GB, free: 9.062 MB / 1.092 GB Notification: Performance of Templates: time 0.005244/1.137, allocations: 2.752 MB / 1.37 GB, free: 6.32 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches