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.001083/0.001083, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009178/0.009178, allocations: 170 kB / 16.26 MB, free: 6.613 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.788/2.788, allocations: 462.6 MB / 0.7364 GB, free: 336 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003957, allocations: 13.06 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3509, allocations: 159.6 MB / 1.059 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001894/0.3528, allocations: 1.388 MB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1716/0.5244, allocations: 145.8 MB / 1.202 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.5246, allocations: 4 kB / 1.202 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.5248, allocations: 15.86 kB / 1.202 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.5251, allocations: 47.7 kB / 1.202 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.5256, allocations: 159.5 kB / 1.203 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.5258, allocations: 155.5 kB / 1.203 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.526, allocations: 25.39 kB / 1.203 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.5279, allocations: 174.6 kB / 1.203 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.5281, allocations: 51.77 kB / 1.203 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.5281, allocations: 4 kB / 1.203 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003576/0.5285, allocations: 167.7 kB / 1.203 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.5286, allocations: 15.92 kB / 1.203 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.5287, allocations: 73.42 kB / 1.203 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.529, allocations: 195.4 kB / 1.203 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.529, allocations: 0 / 1.203 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.503e-06/0.529, allocations: 4 kB / 1.203 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.5291, allocations: 0 / 1.203 GB, free: 0.6797 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.0008279/0.5299, allocations: 459.1 kB / 1.204 GB, free: 188 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5299, allocations: 8.031 kB / 1.204 GB, free: 180 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006322/0.5306, allocations: 56.69 kB / 1.204 GB, free: 124 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.5308, allocations: 208.8 kB / 1.204 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.5309, allocations: 12 kB / 1.204 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.5309, allocations: 4 kB / 1.204 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.5314, allocations: 198.6 kB / 1.204 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.5314, allocations: 0 / 1.204 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.5314, allocations: 7.984 kB / 1.204 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.5314, allocations: 0 / 1.204 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/0.532, allocations: 171.7 kB / 1.205 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.5331, allocations: 0.8402 MB / 1.205 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.5336, allocations: 138.5 kB / 1.205 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.5339, allocations: 88.8 kB / 1.206 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.5339, allocations: 8 kB / 1.206 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.5339, allocations: 30.56 kB / 1.206 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.5339, allocations: 0 / 1.206 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.00201/0.5359, allocations: 499.3 kB / 1.206 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.536, allocations: 51.41 kB / 1.206 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.5361, allocations: 161 kB / 1.206 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.5362, allocations: 29.7 kB / 1.206 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.5362, allocations: 104.2 kB / 1.206 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.5363, allocations: 27.56 kB / 1.206 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.5363, allocations: 25.64 kB / 1.206 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5364, allocations: 318.8 kB / 1.207 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.5367, allocations: 83.88 kB / 1.207 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.537, allocations: 112.2 kB / 1.207 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005533/0.5376, allocations: 200.4 kB / 1.207 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5376, allocations: 0 / 1.207 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001093/0.5387, allocations: 306.2 kB / 1.207 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.5387, allocations: 11.97 kB / 1.207 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.5387, allocations: 4 kB / 1.207 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006013/0.5393, allocations: 80.77 kB / 1.208 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.5396, allocations: 43.95 kB / 1.208 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.5418, allocations: 1.553 MB / 1.209 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.542, allocations: 27.88 kB / 1.209 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.5421, allocations: 4 kB / 1.209 GB, free: 10.43 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.0001453/0.5422, allocations: 135.3 kB / 1.209 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.5423, allocations: 7.906 kB / 1.209 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.5434, allocations: 330.9 kB / 1.21 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.5435, allocations: 0 / 1.21 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.5435, allocations: 0 / 1.21 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.5435, allocations: 15.92 kB / 1.21 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.5438, allocations: 237.5 kB / 1.21 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5438, allocations: 0 / 1.21 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.544, allocations: 35.91 kB / 1.21 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005142/0.5446, allocations: 88.7 kB / 1.21 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.5446, allocations: 11.98 kB / 1.21 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.5464, allocations: 1.567 MB / 1.211 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5464, allocations: 4 kB / 1.211 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.5476, allocations: 406.9 kB / 1.212 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-05/0.5477, allocations: 104.9 kB / 1.212 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.5477, allocations: 0 / 1.212 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.5479, allocations: 27.98 kB / 1.212 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.548, allocations: 11.97 kB / 1.212 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.548, allocations: 8 kB / 1.212 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.351e-05/0.5481, allocations: 113.9 kB / 1.212 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.5481, allocations: 0 / 1.212 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003491/0.5485, allocations: 47.94 kB / 1.212 GB, free: 7.062 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.0001975/0.5487, allocations: 113.5 kB / 1.212 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009199/0.5496, allocations: 326.7 kB / 1.213 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5496, allocations: 0 / 1.213 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005425/0.5502, allocations: 250.5 kB / 1.213 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.5505, allocations: 27.92 kB / 1.213 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008475/0.5514, allocations: 350.7 kB / 1.213 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.5517, allocations: 0.7126 MB / 1.214 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.5519, allocations: 28.81 kB / 1.214 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.552, allocations: 19.36 kB / 1.214 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.552, allocations: 0 / 1.214 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of Templates: time 0.006892/0.5589, allocations: 2.927 MB / 1.217 GB, free: 2.273 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