Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.005308/0.005308, allocations: 98.89 kB / 15.73 MB, free: 6.043 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.001091/0.001091, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.794/2.794, allocations: 469.8 MB / 0.7425 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 64.11 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.384, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003084/0.3871, allocations: 1.677 MB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 1.001/1.388, allocations: 150.1 MB / 1.369 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/1.389, allocations: 1.406 kB / 1.369 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000229/1.389, allocations: 21.14 kB / 1.369 GB, free: 14.15 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004076/1.389, allocations: 61.56 kB / 1.369 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008778/1.39, allocations: 176.9 kB / 1.369 GB, free: 14.02 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004422/1.391, allocations: 164.3 kB / 1.369 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/1.391, allocations: 23.62 kB / 1.369 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/1.393, allocations: 194.4 kB / 1.369 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/1.393, allocations: 63.64 kB / 1.369 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/1.393, allocations: 9.781 kB / 1.369 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005928/1.393, allocations: 159.1 kB / 1.37 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/1.394, allocations: 34.41 kB / 1.37 GB, free: 13.8 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/1.394, allocations: 53.8 kB / 1.37 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000787/1.394, allocations: 200.9 kB / 1.37 GB, free: 13.7 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/1.394, allocations: 0 / 1.37 GB, free: 13.7 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.376e-06/1.394, allocations: 0 / 1.37 GB, free: 13.7 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.576e-05/1.394, allocations: 7.938 kB / 1.37 GB, free: 13.7 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.00162/1.396, allocations: 477.4 kB / 1.37 GB, free: 13.27 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.881e-05/1.396, allocations: 8.719 kB / 1.37 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008226/1.397, allocations: 55.34 kB / 1.37 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/1.397, allocations: 211.5 kB / 1.371 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/1.397, allocations: 3.344 kB / 1.371 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/1.398, allocations: 9.188 kB / 1.371 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005828/1.398, allocations: 183.5 kB / 1.371 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/1.398, allocations: 1.094 kB / 1.371 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/1.398, allocations: 5.125 kB / 1.371 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/1.398, allocations: 6.547 kB / 1.371 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005733/1.399, allocations: 145.3 kB / 1.371 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/1.401, allocations: 0.8268 MB / 1.372 GB, free: 12.14 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004825/1.401, allocations: 131.6 kB / 1.372 GB, free: 12.08 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/1.401, allocations: 76.58 kB / 1.372 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/1.401, allocations: 1.219 kB / 1.372 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/1.401, allocations: 40.09 kB / 1.372 GB, free: 12.01 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/1.401, allocations: 0 / 1.372 GB, free: 12.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.002052/1.404, allocations: 452.9 kB / 1.372 GB, free: 11.81 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/1.404, allocations: 53 kB / 1.373 GB, free: 11.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/1.404, allocations: 153.5 kB / 1.373 GB, free: 11.62 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/1.404, allocations: 25.7 kB / 1.373 GB, free: 11.59 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.445e-05/1.404, allocations: 124.4 kB / 1.373 GB, free: 11.48 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/1.404, allocations: 21.5 kB / 1.373 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.65e-05/1.404, allocations: 40.16 kB / 1.373 GB, free: 11.43 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.404, allocations: 323.6 kB / 1.373 GB, free: 11.11 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/1.404, allocations: 68.94 kB / 1.373 GB, free: 11.09 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/1.405, allocations: 105.6 kB / 1.373 GB, free: 11.04 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/1.405, allocations: 179.7 kB / 1.374 GB, free: 10.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.405, allocations: 0 / 1.374 GB, free: 10.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001148/1.406, allocations: 278.3 kB / 1.374 GB, free: 10.85 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.406, allocations: 5.344 kB / 1.374 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.406, allocations: 5.062 kB / 1.374 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/1.407, allocations: 91.12 kB / 1.374 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/1.407, allocations: 32.45 kB / 1.374 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/1.41, allocations: 1.661 MB / 1.376 GB, free: 9.301 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/1.41, allocations: 30.67 kB / 1.376 GB, free: 9.289 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/1.41, allocations: 3.625 kB / 1.376 GB, free: 9.289 MB / 1.076 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.0001418/1.41, allocations: 129.4 kB / 1.376 GB, free: 9.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/1.41, allocations: 9.234 kB / 1.376 GB, free: 9.156 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/1.411, allocations: 302.2 kB / 1.376 GB, free: 9.051 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/1.411, allocations: 10.44 kB / 1.376 GB, free: 9.043 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/1.411, allocations: 0 / 1.376 GB, free: 9.043 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/1.411, allocations: 2.297 kB / 1.376 GB, free: 9.043 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/1.411, allocations: 245.7 kB / 1.376 GB, free: 8.812 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.411, allocations: 0 / 1.376 GB, free: 8.812 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/1.412, allocations: 33.47 kB / 1.376 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004399/1.412, allocations: 73.03 kB / 1.376 GB, free: 8.793 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/1.412, allocations: 8.031 kB / 1.376 GB, free: 8.789 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/1.414, allocations: 1.69 MB / 1.378 GB, free: 7.25 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.414, allocations: 1.188 kB / 1.378 GB, free: 7.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/1.415, allocations: 381.4 kB / 1.378 GB, free: 7.039 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/1.415, allocations: 111.4 kB / 1.378 GB, free: 6.926 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/1.415, allocations: 7.219 kB / 1.378 GB, free: 6.922 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/1.416, allocations: 17.8 kB / 1.378 GB, free: 6.918 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/1.416, allocations: 17.94 kB / 1.378 GB, free: 6.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/1.416, allocations: 4.672 kB / 1.379 GB, free: 6.91 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.857e-05/1.416, allocations: 115.2 kB / 1.379 GB, free: 6.824 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.416, allocations: 1.469 kB / 1.379 GB, free: 6.824 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000395/1.416, allocations: 46.89 kB / 1.379 GB, free: 6.816 MB / 1.076 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.0002196/1.416, allocations: 109.3 kB / 1.379 GB, free: 6.727 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009851/1.417, allocations: 309.5 kB / 1.379 GB, free: 6.562 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.417, allocations: 0 / 1.379 GB, free: 6.562 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005835/1.418, allocations: 223.1 kB / 1.379 GB, free: 6.422 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/1.418, allocations: 32.36 kB / 1.379 GB, free: 6.406 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/1.419, allocations: 310.3 kB / 1.38 GB, free: 6.219 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/1.42, allocations: 0.7082 MB / 1.38 GB, free: 5.523 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001492/1.42, allocations: 20.94 kB / 1.38 GB, free: 5.516 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/1.42, allocations: 17.06 kB / 1.38 GB, free: 5.508 MB / 1.076 GB Notification: Performance of SimCode: time 1.002e-06/1.42, allocations: 5.156 kB / 1.38 GB, free: 5.504 MB / 1.076 GB Notification: Performance of Templates: time 0.009239/1.429, allocations: 3.258 MB / 1.384 GB, free: 3.871 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches