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.001364/0.001363, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001789/0.001789, allocations: 196 kB / 16.14 MB, free: 6.711 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.793/2.793, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 64.66 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3449, allocations: 157.4 MB / 1.052 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002977/0.348, allocations: 1.739 MB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1603/0.5083, allocations: 147.4 MB / 1.198 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.5085, allocations: 3.938 kB / 1.198 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.5087, allocations: 15.86 kB / 1.198 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.509, allocations: 47.7 kB / 1.198 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.5095, allocations: 159.5 kB / 1.198 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.5098, allocations: 159.5 kB / 1.198 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.5099, allocations: 29.39 kB / 1.198 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.5121, allocations: 173.2 kB / 1.198 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.5122, allocations: 55.75 kB / 1.198 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.5123, allocations: 4 kB / 1.198 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004048/0.5127, allocations: 171.7 kB / 1.199 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.977e-05/0.5128, allocations: 19.92 kB / 1.199 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.71e-05/0.5129, allocations: 47.72 kB / 1.199 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.5133, allocations: 195.5 kB / 1.199 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5133, allocations: 4 kB / 1.199 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5133, allocations: 0 / 1.199 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.5133, allocations: 0 / 1.199 GB, free: 2.133 MB / 0.9512 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.001214/0.5145, allocations: 475 kB / 1.199 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.5146, allocations: 12.02 kB / 1.199 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007419/0.5153, allocations: 52.7 kB / 1.199 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.5156, allocations: 208.9 kB / 1.199 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.5157, allocations: 4 kB / 1.199 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.5157, allocations: 12 kB / 1.199 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.5162, allocations: 183.3 kB / 1.2 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.5162, allocations: 3.938 kB / 1.2 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.5163, allocations: 4 kB / 1.2 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.5163, allocations: 8 kB / 1.2 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005356/0.5168, allocations: 147.7 kB / 1.2 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.5181, allocations: 0.8246 MB / 1.201 GB, free: 40 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.5185, allocations: 130.6 kB / 1.201 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.5188, allocations: 84.78 kB / 1.201 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.5189, allocations: 0 / 1.201 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.5189, allocations: 38.5 kB / 1.201 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.5189, allocations: 0 / 1.201 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.002073/0.521, allocations: 463.1 kB / 1.201 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.521, allocations: 55.39 kB / 1.201 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.5212, allocations: 157.2 kB / 1.202 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.5212, allocations: 25.7 kB / 1.202 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.5213, allocations: 108.2 kB / 1.202 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.5214, allocations: 31.55 kB / 1.202 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.613e-05/0.5215, allocations: 25.7 kB / 1.202 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5216, allocations: 322.8 kB / 1.202 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.5219, allocations: 71.94 kB / 1.202 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.5222, allocations: 112.1 kB / 1.202 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.5227, allocations: 172.1 kB / 1.202 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5228, allocations: 0 / 1.202 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001101/0.5239, allocations: 278.1 kB / 1.203 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.5239, allocations: 11.94 kB / 1.203 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5239, allocations: 0 / 1.203 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006451/0.5246, allocations: 92.86 kB / 1.203 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.5248, allocations: 27.97 kB / 1.203 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.5274, allocations: 1.555 MB / 1.204 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.5277, allocations: 23.89 kB / 1.204 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.5277, allocations: 7.984 kB / 1.204 GB, free: 12.02 MB / 0.9669 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.0001311/0.5279, allocations: 127.3 kB / 1.204 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.5279, allocations: 7.906 kB / 1.204 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.5291, allocations: 322.9 kB / 1.205 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5291, allocations: 0 / 1.205 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.5291, allocations: 0 / 1.205 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.5291, allocations: 3.938 kB / 1.205 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.5294, allocations: 237.4 kB / 1.205 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5294, allocations: 0 / 1.205 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.5296, allocations: 27.97 kB / 1.205 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005167/0.5301, allocations: 92.83 kB / 1.205 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.5302, allocations: 4 kB / 1.205 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.532, allocations: 1.583 MB / 1.207 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.532, allocations: 0 / 1.207 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.5331, allocations: 375.7 kB / 1.207 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.5333, allocations: 100.9 kB / 1.207 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.5333, allocations: 7.984 kB / 1.207 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.5336, allocations: 15.98 kB / 1.207 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.5336, allocations: 15.98 kB / 1.207 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.5337, allocations: 3.984 kB / 1.207 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.469e-05/0.5338, allocations: 111.3 kB / 1.207 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5338, allocations: 0 / 1.207 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003887/0.5342, allocations: 55.92 kB / 1.207 GB, free: 8.715 MB / 0.9669 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.0002239/0.5344, allocations: 103.2 kB / 1.207 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009151/0.5353, allocations: 310.7 kB / 1.208 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5353, allocations: 0 / 1.208 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000526/0.5359, allocations: 234.5 kB / 1.208 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.5362, allocations: 27.92 kB / 1.208 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008457/0.5371, allocations: 342.5 kB / 1.208 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.5374, allocations: 0.7126 MB / 1.209 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.5376, allocations: 28.95 kB / 1.209 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.749e-05/0.5377, allocations: 15.42 kB / 1.209 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.5377, allocations: 0 / 1.209 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of Templates: time 0.006343/0.544, allocations: 2.957 MB / 1.212 GB, free: 3.945 MB / 0.9669 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/jenkins/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