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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005524/0.005525, allocations: 94.98 kB / 15.73 MB, free: 6.039 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.001179/0.001179, allocations: 196 kB / 16.68 MB, free: 5.969 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.623/2.623, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.75 kB / 0.9508 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.36, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00293/0.3629, allocations: 1.665 MB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1809/0.5439, allocations: 149.7 MB / 1.236 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002404/0.5442, allocations: 0 / 1.236 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.5446, allocations: 23.8 kB / 1.236 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005306/0.5451, allocations: 59.56 kB / 1.236 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008477/0.546, allocations: 183.4 kB / 1.236 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.5464, allocations: 159.5 kB / 1.236 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.5466, allocations: 37.05 kB / 1.236 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.5484, allocations: 195.1 kB / 1.236 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.5486, allocations: 63.75 kB / 1.236 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.571e-05/0.5487, allocations: 8 kB / 1.236 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004696/0.5492, allocations: 163.8 kB / 1.237 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.398e-05/0.5492, allocations: 23.91 kB / 1.237 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.5493, allocations: 55.72 kB / 1.237 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005113/0.5498, allocations: 207.2 kB / 1.237 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5499, allocations: 0 / 1.237 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5499, allocations: 0 / 1.237 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.5499, allocations: 0 / 1.237 GB, free: 8.402 MB / 0.9981 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.001002/0.5509, allocations: 474.6 kB / 1.237 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.5509, allocations: 12.03 kB / 1.237 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006801/0.5516, allocations: 52.78 kB / 1.237 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.5519, allocations: 206.9 kB / 1.238 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.5519, allocations: 7.938 kB / 1.238 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.552, allocations: 12 kB / 1.238 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005022/0.5525, allocations: 175.4 kB / 1.238 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5525, allocations: 7.984 kB / 1.238 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.5525, allocations: 4 kB / 1.238 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.5526, allocations: 0 / 1.238 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005393/0.5531, allocations: 147.8 kB / 1.238 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.5546, allocations: 0.8324 MB / 1.239 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.555, allocations: 130.4 kB / 1.239 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.5553, allocations: 80.8 kB / 1.239 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.5553, allocations: 4 kB / 1.239 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.5553, allocations: 38.5 kB / 1.239 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.5553, allocations: 0 / 1.239 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001955/0.5573, allocations: 455.3 kB / 1.239 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.5574, allocations: 55.41 kB / 1.239 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.5575, allocations: 159.3 kB / 1.24 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.5576, allocations: 29.7 kB / 1.24 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.5576, allocations: 112.2 kB / 1.24 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.5577, allocations: 31.73 kB / 1.24 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.5578, allocations: 25.7 kB / 1.24 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5579, allocations: 318.8 kB / 1.24 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.5582, allocations: 71.94 kB / 1.24 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.5585, allocations: 104.2 kB / 1.24 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.559, allocations: 172.1 kB / 1.24 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.559, allocations: 3.938 kB / 1.24 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00107/0.5601, allocations: 286.1 kB / 1.241 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.5601, allocations: 7.938 kB / 1.241 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.5601, allocations: 3.938 kB / 1.241 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/0.5608, allocations: 84.89 kB / 1.241 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.561, allocations: 35.95 kB / 1.241 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.5634, allocations: 1.653 MB / 1.242 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.5637, allocations: 31.89 kB / 1.242 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.5637, allocations: 8.062 kB / 1.242 GB, free: 2.176 MB / 0.9981 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.0001303/0.5638, allocations: 125.7 kB / 1.243 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.5639, allocations: 19.91 kB / 1.243 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.565, allocations: 313.8 kB / 1.243 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.565, allocations: 4 kB / 1.243 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.565, allocations: 0 / 1.243 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.565, allocations: 3.984 kB / 1.243 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.5653, allocations: 233.5 kB / 1.243 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5654, allocations: 7.984 kB / 1.243 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.5656, allocations: 27.97 kB / 1.243 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004266/0.566, allocations: 72.78 kB / 1.243 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.566, allocations: 11.92 kB / 1.243 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.5681, allocations: 1.686 MB / 1.245 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5681, allocations: 0 / 1.245 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.5692, allocations: 388.1 kB / 1.245 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.5693, allocations: 101 kB / 1.245 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.5694, allocations: 0 / 1.245 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.5696, allocations: 19.92 kB / 1.245 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.5697, allocations: 15.97 kB / 1.245 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.5697, allocations: 8 kB / 1.245 GB, free: 14.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001293/0.5699, allocations: 109.1 kB / 1.246 GB, free: 14.81 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5699, allocations: 0 / 1.246 GB, free: 14.81 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005697/0.5705, allocations: 51.88 kB / 1.246 GB, free: 14.76 MB / 1.014 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.0003006/0.5708, allocations: 119.2 kB / 1.246 GB, free: 14.63 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.5722, allocations: 310.7 kB / 1.246 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.5722, allocations: 0 / 1.246 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008007/0.573, allocations: 234.5 kB / 1.246 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.5735, allocations: 24.27 kB / 1.246 GB, free: 14.05 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009803/0.5745, allocations: 318.3 kB / 1.247 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.575, allocations: 0.7124 MB / 1.247 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001417/0.5751, allocations: 24.81 kB / 1.247 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.5752, allocations: 19.42 kB / 1.247 GB, free: 12.93 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/0.5752, allocations: 0 / 1.247 GB, free: 12.93 MB / 1.014 GB Notification: Performance of Templates: time 0.008011/0.5832, allocations: 3.237 MB / 1.25 GB, free: 9.727 MB / 1.014 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches