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.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.001553/0.001553, allocations: 104.3 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.001557/0.001557, 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.502/1.502, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.256/3.256, allocations: 0.505 GB / 0.8066 GB, free: 23.15 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_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_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.002075/0.002075, allocations: 68.94 kB / 1.172 GB, free: 17.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3825, allocations: 180.2 MB / 1.348 GB, free: 10.05 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00302/0.3855, allocations: 1.696 MB / 1.349 GB, free: 8.344 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1803/0.5658, allocations: 153 MB / 1.499 GB, free: 14.77 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.5659, allocations: 0 / 1.499 GB, free: 14.77 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.5661, allocations: 27.8 kB / 1.499 GB, free: 14.74 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.5664, allocations: 55.58 kB / 1.499 GB, free: 14.69 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.567, allocations: 183.3 kB / 1.499 GB, free: 14.51 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.5672, allocations: 163.5 kB / 1.499 GB, free: 14.35 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.5674, allocations: 33.03 kB / 1.499 GB, free: 14.31 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.569, allocations: 209.1 kB / 1.499 GB, free: 14.14 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.5691, allocations: 63.75 kB / 1.499 GB, free: 14.07 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.5692, allocations: 8 kB / 1.5 GB, free: 14.07 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000367/0.5695, allocations: 179.7 kB / 1.5 GB, free: 13.89 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.5696, allocations: 23.91 kB / 1.5 GB, free: 13.87 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 7.68e-05/0.5697, allocations: 55.72 kB / 1.5 GB, free: 13.81 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0004269/0.5701, allocations: 211.2 kB / 1.5 GB, free: 13.61 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5701, allocations: 0 / 1.5 GB, free: 13.61 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5701, allocations: 4 kB / 1.5 GB, free: 13.6 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.5701, allocations: 0 / 1.5 GB, free: 13.6 MB / 1.201 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.0009848/0.5711, allocations: 466.7 kB / 1.5 GB, free: 13.1 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.5711, allocations: 19.98 kB / 1.5 GB, free: 13.08 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/0.5712, allocations: 38.73 kB / 1.5 GB, free: 13.03 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008934/0.5721, allocations: 84.52 kB / 1.501 GB, free: 12.95 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.5723, allocations: 210.7 kB / 1.501 GB, free: 12.7 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.5724, allocations: 4 kB / 1.501 GB, free: 12.7 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.5724, allocations: 12 kB / 1.501 GB, free: 12.69 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004788/0.5729, allocations: 177.8 kB / 1.501 GB, free: 12.49 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.5729, allocations: 0 / 1.501 GB, free: 12.49 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.5729, allocations: 8 kB / 1.501 GB, free: 12.48 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5729, allocations: 0 / 1.501 GB, free: 12.48 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005394/0.5734, allocations: 155.7 kB / 1.501 GB, free: 12.33 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.5747, allocations: 0.8169 MB / 1.502 GB, free: 11.44 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.5751, allocations: 126.5 kB / 1.502 GB, free: 11.3 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.5754, allocations: 80.78 kB / 1.502 GB, free: 11.22 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.5754, allocations: 0 / 1.502 GB, free: 11.22 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.5754, allocations: 34.5 kB / 1.502 GB, free: 11.18 MB / 1.201 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.5755, allocations: 0 / 1.502 GB, free: 11.18 MB / 1.201 GB Notification: Performance of matching and sorting (n=8): time 0.00206/0.5775, allocations: 463.3 kB / 1.503 GB, free: 10.7 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.5775, allocations: 59.34 kB / 1.503 GB, free: 10.63 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.5777, allocations: 152 kB / 1.503 GB, free: 10.47 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.5777, allocations: 25.7 kB / 1.503 GB, free: 10.44 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/0.5778, allocations: 108.3 kB / 1.503 GB, free: 10.33 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.5778, allocations: 31.73 kB / 1.503 GB, free: 10.3 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.5779, allocations: 33.7 kB / 1.503 GB, free: 10.26 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.578, allocations: 318.8 kB / 1.503 GB, free: 9.941 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.5783, allocations: 71.94 kB / 1.503 GB, free: 9.871 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.5786, allocations: 100.2 kB / 1.503 GB, free: 9.758 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/0.5791, allocations: 180.1 kB / 1.504 GB, free: 9.566 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5791, allocations: 4 kB / 1.504 GB, free: 9.562 MB / 1.201 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00116/0.5803, allocations: 286.1 kB / 1.504 GB, free: 9.273 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.5803, allocations: 11.94 kB / 1.504 GB, free: 9.262 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.5803, allocations: 0 / 1.504 GB, free: 9.262 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006271/0.581, allocations: 80.89 kB / 1.504 GB, free: 9.18 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.5812, allocations: 47.83 kB / 1.504 GB, free: 9.133 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/0.5838, allocations: 1.657 MB / 1.506 GB, free: 7.332 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.584, allocations: 24 kB / 1.506 GB, free: 7.309 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.584, allocations: 11.92 kB / 1.506 GB, free: 7.297 MB / 1.201 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.0001317/0.5842, allocations: 117.8 kB / 1.506 GB, free: 7.172 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.5842, allocations: 11.95 kB / 1.506 GB, free: 7.16 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.5854, allocations: 314.8 kB / 1.506 GB, free: 6.848 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5854, allocations: 0 / 1.506 GB, free: 6.848 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.5854, allocations: 0 / 1.506 GB, free: 6.848 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5854, allocations: 0 / 1.506 GB, free: 6.848 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.5857, allocations: 249.4 kB / 1.506 GB, free: 6.555 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5857, allocations: 0 / 1.506 GB, free: 6.555 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.5859, allocations: 39.89 kB / 1.506 GB, free: 6.516 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004463/0.5864, allocations: 72.78 kB / 1.506 GB, free: 6.441 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.5864, allocations: 7.938 kB / 1.506 GB, free: 6.434 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.5886, allocations: 1.682 MB / 1.508 GB, free: 4.605 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5886, allocations: 0 / 1.508 GB, free: 4.605 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.5897, allocations: 382.2 kB / 1.508 GB, free: 4.215 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.5898, allocations: 109 kB / 1.509 GB, free: 4.09 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.5898, allocations: 8 kB / 1.509 GB, free: 4.082 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.5901, allocations: 15.92 kB / 1.509 GB, free: 4.066 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.5901, allocations: 15.92 kB / 1.509 GB, free: 4.051 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.5901, allocations: 7.984 kB / 1.509 GB, free: 4.043 MB / 1.201 GB Notification: Performance of sorting global known variables: time 9.005e-05/0.5902, allocations: 114.1 kB / 1.509 GB, free: 3.934 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5902, allocations: 0 / 1.509 GB, free: 3.934 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003458/0.5906, allocations: 47.94 kB / 1.509 GB, free: 3.887 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 (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.001513/0.5921, allocations: 0.9238 MB / 1.51 GB, free: 2.934 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009848/0.5931, allocations: 302.4 kB / 1.51 GB, free: 2.625 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.5931, allocations: 4.25 kB / 1.51 GB, free: 2.621 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005802/0.5937, allocations: 225.6 kB / 1.51 GB, free: 2.391 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.594, allocations: 28.2 kB / 1.51 GB, free: 2.363 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/0.5984, allocations: 2.073 MB / 1.512 GB, free: 184 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.5988, allocations: 0.7046 MB / 1.513 GB, free: 15.45 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.5989, allocations: 24.81 kB / 1.513 GB, free: 15.43 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.599, allocations: 39.41 kB / 1.513 GB, free: 15.39 MB / 1.217 GB Notification: Performance of SimCode: time 7.02e-07/0.599, allocations: 4 kB / 1.513 GB, free: 15.38 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03496/0.634, allocations: 4.758 MB / 1.518 GB, free: 10.8 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.73, allocations: 5.781 kB / 1.518 GB, free: 10.8 MB / 1.217 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_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_TDryBulXi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.72084010904655]