Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.001343/0.001343, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001769/0.001769, allocations: 217.1 kB / 22.25 MB, free: 4.855 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.535/3.535, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.002212/0.002212, allocations: 68.92 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3871, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003569/0.3907, allocations: 1.878 MB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1801/0.5708, allocations: 136.7 MB / 1.499 GB, free: 2.969 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.571, allocations: 7.938 kB / 1.499 GB, free: 2.961 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.5712, allocations: 27.72 kB / 1.499 GB, free: 2.934 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.5716, allocations: 75.42 kB / 1.499 GB, free: 2.859 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008219/0.5724, allocations: 267.1 kB / 1.499 GB, free: 2.598 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.000408/0.5728, allocations: 263.2 kB / 1.499 GB, free: 2.34 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.573, allocations: 46.48 kB / 1.499 GB, free: 2.297 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.5746, allocations: 254 kB / 1.5 GB, free: 2.07 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.5748, allocations: 79.61 kB / 1.5 GB, free: 1.992 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.5748, allocations: 23.92 kB / 1.5 GB, free: 1.969 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.5753, allocations: 175.8 kB / 1.5 GB, free: 1.797 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.5753, allocations: 47.83 kB / 1.5 GB, free: 1.75 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.5754, allocations: 75.66 kB / 1.5 GB, free: 1.676 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0005926/0.576, allocations: 298.8 kB / 1.5 GB, free: 1.383 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.576, allocations: 0 / 1.5 GB, free: 1.383 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.563e-06/0.576, allocations: 0 / 1.5 GB, free: 1.383 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.5761, allocations: 0 / 1.5 GB, free: 1.383 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001059/0.5771, allocations: 473.2 kB / 1.501 GB, free: 0.8906 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.5772, allocations: 12.02 kB / 1.501 GB, free: 0.8789 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.821e-05/0.5772, allocations: 54.5 kB / 1.501 GB, free: 0.8164 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.5784, allocations: 111.8 kB / 1.501 GB, free: 0.707 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.5788, allocations: 176.8 kB / 1.501 GB, free: 0.5078 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.5789, allocations: 63.73 kB / 1.501 GB, free: 444 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.5789, allocations: 16 kB / 1.501 GB, free: 428 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/0.5796, allocations: 310 kB / 1.501 GB, free: 76 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.5796, allocations: 4 kB / 1.501 GB, free: 72 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.5796, allocations: 12 kB / 1.501 GB, free: 60 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.5796, allocations: 8 kB / 1.501 GB, free: 52 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005054/0.5802, allocations: 163.8 kB / 1.502 GB, free: 15.89 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.5821, allocations: 1.121 MB / 1.503 GB, free: 14.7 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007924/0.5829, allocations: 190.7 kB / 1.503 GB, free: 14.5 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.5831, allocations: 72.81 kB / 1.503 GB, free: 14.43 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.5831, allocations: 0 / 1.503 GB, free: 14.43 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.5831, allocations: 34.56 kB / 1.503 GB, free: 14.39 MB / 1.201 GB Notification: Performance of pre-optimization done (n=12): time 8.72e-07/0.5831, allocations: 0 / 1.503 GB, free: 14.39 MB / 1.201 GB Notification: Performance of matching and sorting (n=12): time 0.002699/0.5858, allocations: 494.7 kB / 1.503 GB, free: 13.89 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.5859, allocations: 55.34 kB / 1.504 GB, free: 13.82 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.5862, allocations: 222.7 kB / 1.504 GB, free: 13.59 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.5862, allocations: 29.7 kB / 1.504 GB, free: 13.56 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.5863, allocations: 140.2 kB / 1.504 GB, free: 13.42 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.5864, allocations: 47.58 kB / 1.504 GB, free: 13.37 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.5865, allocations: 49.64 kB / 1.504 GB, free: 13.32 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5867, allocations: 330.8 kB / 1.504 GB, free: 12.98 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.5869, allocations: 71.94 kB / 1.504 GB, free: 12.91 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.5872, allocations: 150.5 kB / 1.505 GB, free: 12.73 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.5877, allocations: 206.7 kB / 1.505 GB, free: 12.51 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.5877, allocations: 0 / 1.505 GB, free: 12.51 MB / 1.201 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001481/0.5892, allocations: 374.8 kB / 1.505 GB, free: 12.13 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.5892, allocations: 13.34 kB / 1.505 GB, free: 12.12 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5892, allocations: 0 / 1.505 GB, free: 12.12 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.5903, allocations: 169.7 kB / 1.505 GB, free: 11.95 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.5905, allocations: 31.97 kB / 1.505 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004325/0.5948, allocations: 3.041 MB / 1.508 GB, free: 8.641 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.5952, allocations: 27.83 kB / 1.508 GB, free: 8.613 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.5952, allocations: 15.98 kB / 1.508 GB, free: 8.598 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.5953, allocations: 130.8 kB / 1.508 GB, free: 8.461 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.5954, allocations: 15.91 kB / 1.508 GB, free: 8.445 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.5968, allocations: 378 kB / 1.509 GB, free: 8.062 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5968, allocations: 0 / 1.509 GB, free: 8.062 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.5968, allocations: 4 kB / 1.509 GB, free: 8.059 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5968, allocations: 3.938 kB / 1.509 GB, free: 8.055 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.5971, allocations: 228.5 kB / 1.509 GB, free: 7.789 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5971, allocations: 0 / 1.509 GB, free: 7.789 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.5973, allocations: 19.98 kB / 1.509 GB, free: 7.77 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008417/0.5981, allocations: 145.5 kB / 1.509 GB, free: 7.621 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.5981, allocations: 0 / 1.509 GB, free: 7.621 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003918/0.602, allocations: 3.082 MB / 1.512 GB, free: 4.297 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.602, allocations: 0 / 1.512 GB, free: 4.297 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.6034, allocations: 428.8 kB / 1.513 GB, free: 3.855 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.6035, allocations: 43.69 kB / 1.513 GB, free: 3.812 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.6035, allocations: 4 kB / 1.513 GB, free: 3.809 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.6038, allocations: 11.98 kB / 1.513 GB, free: 3.797 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/0.6039, allocations: 19.97 kB / 1.513 GB, free: 3.777 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.6039, allocations: 11.92 kB / 1.513 GB, free: 3.766 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000212/0.6042, allocations: 163.9 kB / 1.513 GB, free: 3.605 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6042, allocations: 4 kB / 1.513 GB, free: 3.602 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004451/0.6046, allocations: 67.89 kB / 1.513 GB, free: 3.535 MB / 1.201 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001718/0.6063, allocations: 0.9765 MB / 1.514 GB, free: 2.523 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.6074, allocations: 447.8 kB / 1.514 GB, free: 2.062 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6074, allocations: 0 / 1.514 GB, free: 2.062 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007353/0.6082, allocations: 353.2 kB / 1.515 GB, free: 1.691 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.6087, allocations: 71.78 kB / 1.515 GB, free: 1.621 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005465/0.6141, allocations: 2.516 MB / 1.517 GB, free: 14.97 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.6143, allocations: 124.5 kB / 1.517 GB, free: 14.83 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001873/0.6145, allocations: 33.94 kB / 1.517 GB, free: 14.8 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.6146, allocations: 55.41 kB / 1.517 GB, free: 14.74 MB / 1.217 GB Notification: Performance of SimCode: time 8.41e-07/0.6146, allocations: 0 / 1.517 GB, free: 14.74 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05764/0.6722, allocations: 8.038 MB / 1.525 GB, free: 6.945 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.65, allocations: 1.406 kB / 1.525 GB, free: 6.945 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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: 20.924854793120176]