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.001819/0.001819, allocations: 108.3 kB / 16.46 MB, free: 6.453 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.002304/0.002304, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.529/1.529, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.15/3.15, allocations: 0.49 GB / 0.7916 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] 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.002102/0.002102, allocations: 69.94 kB / 1.149 GB, free: 26.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3287, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003074/0.3317, allocations: 1.695 MB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1886/0.5203, allocations: 153 MB / 1.472 GB, free: 8.078 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.5205, allocations: 7.938 kB / 1.472 GB, free: 8.07 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.5207, allocations: 23.8 kB / 1.472 GB, free: 8.047 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.521, allocations: 55.58 kB / 1.472 GB, free: 7.992 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005677/0.5215, allocations: 191.3 kB / 1.472 GB, free: 7.805 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.5219, allocations: 163.5 kB / 1.472 GB, free: 7.645 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.522, allocations: 25 kB / 1.472 GB, free: 7.617 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.5236, allocations: 200.8 kB / 1.472 GB, free: 7.445 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.5238, allocations: 67.73 kB / 1.473 GB, free: 7.379 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.5238, allocations: 12 kB / 1.473 GB, free: 7.367 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.5242, allocations: 171.7 kB / 1.473 GB, free: 7.199 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.5243, allocations: 27.91 kB / 1.473 GB, free: 7.172 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 8.22e-05/0.5244, allocations: 55.72 kB / 1.473 GB, free: 7.117 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004883/0.5249, allocations: 203.3 kB / 1.473 GB, free: 6.918 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5249, allocations: 0 / 1.473 GB, free: 6.918 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5249, allocations: 0 / 1.473 GB, free: 6.918 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.5249, allocations: 4 kB / 1.473 GB, free: 6.914 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.001015/0.5259, allocations: 486.5 kB / 1.473 GB, free: 6.391 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.5259, allocations: 11.98 kB / 1.473 GB, free: 6.379 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.272e-05/0.526, allocations: 38.75 kB / 1.474 GB, free: 6.332 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009476/0.5269, allocations: 84.5 kB / 1.474 GB, free: 6.25 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.5273, allocations: 200.6 kB / 1.474 GB, free: 6.016 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.5273, allocations: 15.92 kB / 1.474 GB, free: 6 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.5273, allocations: 4 kB / 1.474 GB, free: 5.996 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.5278, allocations: 191.6 kB / 1.474 GB, free: 5.789 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.5278, allocations: 3.984 kB / 1.474 GB, free: 5.785 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.5279, allocations: 0 / 1.474 GB, free: 5.785 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.5279, allocations: 4 kB / 1.474 GB, free: 5.781 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005529/0.5284, allocations: 147.8 kB / 1.474 GB, free: 5.637 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.5297, allocations: 0.8169 MB / 1.475 GB, free: 4.742 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.5302, allocations: 130.4 kB / 1.475 GB, free: 4.605 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.5305, allocations: 76.8 kB / 1.475 GB, free: 4.527 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.5305, allocations: 3.938 kB / 1.475 GB, free: 4.523 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.5305, allocations: 38.56 kB / 1.475 GB, free: 4.477 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.5305, allocations: 0 / 1.475 GB, free: 4.477 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.002184/0.5327, allocations: 467.3 kB / 1.476 GB, free: 3.992 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.5328, allocations: 59.34 kB / 1.476 GB, free: 3.922 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.5329, allocations: 148.3 kB / 1.476 GB, free: 3.77 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.533, allocations: 25.7 kB / 1.476 GB, free: 3.738 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.533, allocations: 116.3 kB / 1.476 GB, free: 3.621 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.5331, allocations: 27.75 kB / 1.476 GB, free: 3.594 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.5332, allocations: 33.69 kB / 1.476 GB, free: 3.555 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5333, allocations: 314.8 kB / 1.476 GB, free: 3.238 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.5336, allocations: 67.92 kB / 1.476 GB, free: 3.172 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.5339, allocations: 104.2 kB / 1.476 GB, free: 3.055 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.5344, allocations: 184 kB / 1.477 GB, free: 2.859 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5344, allocations: 0 / 1.477 GB, free: 2.859 MB / 1.17 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001211/0.5357, allocations: 282.2 kB / 1.477 GB, free: 2.574 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5357, allocations: 7.938 kB / 1.477 GB, free: 2.566 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.5357, allocations: 4 kB / 1.477 GB, free: 2.562 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000634/0.5363, allocations: 88.8 kB / 1.477 GB, free: 2.473 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.5366, allocations: 35.89 kB / 1.477 GB, free: 2.438 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/0.539, allocations: 1.663 MB / 1.479 GB, free: 0.6328 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.5392, allocations: 20 kB / 1.479 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.5393, allocations: 7.938 kB / 1.479 GB, free: 0.6055 MB / 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.0001277/0.5394, allocations: 129.8 kB / 1.479 GB, free: 480 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.5394, allocations: 11.91 kB / 1.479 GB, free: 468 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.5406, allocations: 310.8 kB / 1.479 GB, free: 148 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.5406, allocations: 4 kB / 1.479 GB, free: 144 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.5406, allocations: 7.938 kB / 1.479 GB, free: 136 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5406, allocations: 0 / 1.479 GB, free: 136 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.5409, allocations: 241.5 kB / 1.479 GB, free: 15.85 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5409, allocations: 0 / 1.479 GB, free: 15.85 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.5412, allocations: 31.95 kB / 1.479 GB, free: 15.82 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/0.5416, allocations: 72.78 kB / 1.479 GB, free: 15.74 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.5417, allocations: 11.92 kB / 1.479 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.5438, allocations: 1.685 MB / 1.481 GB, free: 13.9 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5438, allocations: 3.938 kB / 1.481 GB, free: 13.89 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.545, allocations: 382.1 kB / 1.481 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.5451, allocations: 101 kB / 1.482 GB, free: 13.39 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.5451, allocations: 0 / 1.482 GB, free: 13.39 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.5453, allocations: 23.92 kB / 1.482 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.5454, allocations: 19.91 kB / 1.482 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.5454, allocations: 4 kB / 1.482 GB, free: 13.34 MB / 1.186 GB Notification: Performance of sorting global known variables: time 9.027e-05/0.5455, allocations: 112.7 kB / 1.482 GB, free: 13.23 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5455, allocations: 0 / 1.482 GB, free: 13.23 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003481/0.5459, allocations: 47.89 kB / 1.482 GB, free: 13.18 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.001559/0.5474, allocations: 0.9277 MB / 1.483 GB, free: 12.23 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009822/0.5484, allocations: 301.9 kB / 1.483 GB, free: 11.92 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5484, allocations: 4 kB / 1.483 GB, free: 11.92 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005986/0.549, allocations: 222.6 kB / 1.483 GB, free: 11.69 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.5493, allocations: 24.52 kB / 1.483 GB, free: 11.66 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.5537, allocations: 2.072 MB / 1.485 GB, free: 9.477 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.5541, allocations: 0.7163 MB / 1.486 GB, free: 8.734 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000135/0.5542, allocations: 20.88 kB / 1.486 GB, free: 8.715 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.5543, allocations: 35.42 kB / 1.486 GB, free: 8.684 MB / 1.186 GB Notification: Performance of SimCode: time 6.11e-07/0.5543, allocations: 0 / 1.486 GB, free: 8.684 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.5887, allocations: 4.763 MB / 1.491 GB, free: 4.094 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.89, allocations: 7.922 kB / 1.491 GB, free: 4.086 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.62603139784187]