Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 104 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.217/3.217, allocations: 0.49 GB / 0.7916 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 69.56 kB / 1.149 GB, free: 26.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3339, allocations: 176.1 MB / 1.321 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003226/0.3371, allocations: 1.692 MB / 1.322 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1981/0.5352, allocations: 153 MB / 1.472 GB, free: 7.941 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.5354, allocations: 0 / 1.472 GB, free: 7.941 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.5356, allocations: 27.73 kB / 1.472 GB, free: 7.914 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.5359, allocations: 47.64 kB / 1.472 GB, free: 7.867 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006029/0.5365, allocations: 187.3 kB / 1.472 GB, free: 7.684 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.5368, allocations: 171.5 kB / 1.472 GB, free: 7.516 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.5369, allocations: 21.06 kB / 1.472 GB, free: 7.492 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.5384, allocations: 203.7 kB / 1.472 GB, free: 7.316 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.5385, allocations: 63.69 kB / 1.473 GB, free: 7.254 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.5386, allocations: 12 kB / 1.473 GB, free: 7.242 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003575/0.5389, allocations: 175.8 kB / 1.473 GB, free: 7.07 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.539, allocations: 23.92 kB / 1.473 GB, free: 7.047 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 8.763e-05/0.539, allocations: 59.7 kB / 1.473 GB, free: 6.988 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.5395, allocations: 211.2 kB / 1.473 GB, free: 6.781 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.5395, allocations: 0 / 1.473 GB, free: 6.781 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5395, allocations: 0 / 1.473 GB, free: 6.781 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.5395, allocations: 0 / 1.473 GB, free: 6.781 MB / 1.17 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.0009817/0.5405, allocations: 474.6 kB / 1.473 GB, free: 6.27 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.5405, allocations: 11.98 kB / 1.473 GB, free: 6.258 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.28e-05/0.5406, allocations: 46.69 kB / 1.474 GB, free: 6.203 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009116/0.5415, allocations: 84.5 kB / 1.474 GB, free: 6.121 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.5418, allocations: 202.8 kB / 1.474 GB, free: 5.883 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.5418, allocations: 8 kB / 1.474 GB, free: 5.875 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.5418, allocations: 8 kB / 1.474 GB, free: 5.867 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/0.5423, allocations: 181.8 kB / 1.474 GB, free: 5.668 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.5423, allocations: 0 / 1.474 GB, free: 5.668 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.5423, allocations: 11.98 kB / 1.474 GB, free: 5.656 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.5423, allocations: 0 / 1.474 GB, free: 5.656 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005517/0.5429, allocations: 147.7 kB / 1.474 GB, free: 5.512 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.5441, allocations: 0.8169 MB / 1.475 GB, free: 4.617 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.5445, allocations: 126.5 kB / 1.475 GB, free: 4.484 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.5448, allocations: 80.78 kB / 1.475 GB, free: 4.402 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.5448, allocations: 3.984 kB / 1.475 GB, free: 4.398 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.5449, allocations: 30.56 kB / 1.475 GB, free: 4.359 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.5449, allocations: 4 kB / 1.475 GB, free: 4.355 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.002127/0.547, allocations: 467.1 kB / 1.476 GB, free: 3.871 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.547, allocations: 55.34 kB / 1.476 GB, free: 3.805 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.5472, allocations: 153.7 kB / 1.476 GB, free: 3.648 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.5472, allocations: 25.7 kB / 1.476 GB, free: 3.617 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.5473, allocations: 108.5 kB / 1.476 GB, free: 3.508 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.5474, allocations: 31.73 kB / 1.476 GB, free: 3.477 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.5474, allocations: 37.69 kB / 1.476 GB, free: 3.434 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.5476, allocations: 318.8 kB / 1.476 GB, free: 3.113 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.5479, allocations: 71.92 kB / 1.476 GB, free: 3.043 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.5482, allocations: 104.2 kB / 1.476 GB, free: 2.926 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/0.5488, allocations: 188 kB / 1.477 GB, free: 2.727 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5488, allocations: 0 / 1.477 GB, free: 2.727 MB / 1.17 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001159/0.55, allocations: 278.1 kB / 1.477 GB, free: 2.445 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.55, allocations: 7.938 kB / 1.477 GB, free: 2.438 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.55, allocations: 4.125 kB / 1.477 GB, free: 2.434 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/0.5507, allocations: 84.77 kB / 1.477 GB, free: 2.348 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.5509, allocations: 35.95 kB / 1.477 GB, free: 2.312 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/0.5535, allocations: 1.664 MB / 1.479 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.5538, allocations: 15.98 kB / 1.479 GB, free: 0.4922 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.5538, allocations: 15.92 kB / 1.479 GB, free: 488 kB / 1.17 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.0001547/0.554, allocations: 114 kB / 1.479 GB, free: 364 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.554, allocations: 15.89 kB / 1.479 GB, free: 348 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.5552, allocations: 314.8 kB / 1.479 GB, free: 24 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.5552, allocations: 4 kB / 1.479 GB, free: 20 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.5552, allocations: 0 / 1.479 GB, free: 20 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5552, allocations: 0 / 1.479 GB, free: 20 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.5555, allocations: 249.4 kB / 1.479 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5555, allocations: 0 / 1.479 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.5558, allocations: 31.95 kB / 1.479 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004751/0.5563, allocations: 76.78 kB / 1.479 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.5563, allocations: 11.92 kB / 1.479 GB, free: 15.61 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00229/0.5586, allocations: 1.674 MB / 1.481 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5586, allocations: 4.062 kB / 1.481 GB, free: 13.78 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.5597, allocations: 385.6 kB / 1.481 GB, free: 13.39 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.5598, allocations: 101 kB / 1.482 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.5599, allocations: 4 kB / 1.482 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.5601, allocations: 15.92 kB / 1.482 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.5602, allocations: 31.84 kB / 1.482 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.5602, allocations: 4 kB / 1.482 GB, free: 13.21 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001029/0.5603, allocations: 109.1 kB / 1.482 GB, free: 13.11 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.5603, allocations: 4 kB / 1.482 GB, free: 13.11 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000398/0.5607, allocations: 51.89 kB / 1.482 GB, free: 13.05 MB / 1.186 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.001623/0.5623, allocations: 0.9248 MB / 1.483 GB, free: 12.1 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.5634, allocations: 298.7 kB / 1.483 GB, free: 11.8 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5634, allocations: 0 / 1.483 GB, free: 11.8 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005916/0.564, allocations: 230.4 kB / 1.483 GB, free: 11.56 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.5643, allocations: 34.67 kB / 1.483 GB, free: 11.53 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.5689, allocations: 2.061 MB / 1.485 GB, free: 9.355 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.5693, allocations: 0.7124 MB / 1.486 GB, free: 8.617 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.5695, allocations: 24.81 kB / 1.486 GB, free: 8.594 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.365e-05/0.5696, allocations: 35.42 kB / 1.486 GB, free: 8.562 MB / 1.186 GB Notification: Performance of SimCode: time 1.152e-06/0.5696, allocations: 3.938 kB / 1.486 GB, free: 8.559 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.6064, allocations: 4.753 MB / 1.491 GB, free: 3.977 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.6, allocations: 10.23 kB / 1.491 GB, free: 3.969 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.20122413802892]