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.001422/0.001422, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002257/0.002257, allocations: 217 kB / 22.25 MB, free: 5.082 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 8.012 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.27/3.27, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.002183/0.002183, allocations: 70.11 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3574, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003144/0.3605, allocations: 1.696 MB / 1.355 GB, free: 6.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1828/0.5433, allocations: 153 MB / 1.504 GB, free: 13.13 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.36e-05/0.5434, allocations: 0 / 1.504 GB, free: 13.13 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.5436, allocations: 27.73 kB / 1.504 GB, free: 13.11 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.5439, allocations: 55.62 kB / 1.504 GB, free: 13.05 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.5443, allocations: 191.2 kB / 1.504 GB, free: 12.86 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.5445, allocations: 163.5 kB / 1.504 GB, free: 12.7 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.5447, allocations: 21.3 kB / 1.504 GB, free: 12.68 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.546, allocations: 203.6 kB / 1.505 GB, free: 12.51 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.5462, allocations: 63.69 kB / 1.505 GB, free: 12.45 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.5462, allocations: 8 kB / 1.505 GB, free: 12.44 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/0.5465, allocations: 183.8 kB / 1.505 GB, free: 12.26 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.5466, allocations: 19.92 kB / 1.505 GB, free: 12.24 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 7.379e-05/0.5466, allocations: 59.7 kB / 1.505 GB, free: 12.18 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.547, allocations: 211.2 kB / 1.505 GB, free: 11.97 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.547, allocations: 4 kB / 1.505 GB, free: 11.97 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.663e-06/0.547, allocations: 0 / 1.505 GB, free: 11.97 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.547, allocations: 0 / 1.505 GB, free: 11.97 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.0008523/0.5479, allocations: 393.5 kB / 1.505 GB, free: 11.55 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.5479, allocations: 8.031 kB / 1.506 GB, free: 11.55 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.548, allocations: 42.73 kB / 1.506 GB, free: 11.5 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008714/0.5488, allocations: 80.52 kB / 1.506 GB, free: 11.42 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.5491, allocations: 156.9 kB / 1.506 GB, free: 11.24 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.5491, allocations: 8 kB / 1.506 GB, free: 11.23 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.5491, allocations: 8 kB / 1.506 GB, free: 11.22 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004701/0.5496, allocations: 183.9 kB / 1.506 GB, free: 11.02 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.5496, allocations: 0 / 1.506 GB, free: 11.02 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.5496, allocations: 4 kB / 1.506 GB, free: 11.02 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5496, allocations: 0 / 1.506 GB, free: 11.02 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005171/0.5501, allocations: 155.7 kB / 1.506 GB, free: 10.87 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.5514, allocations: 0.7808 MB / 1.507 GB, free: 10.02 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.5519, allocations: 134.4 kB / 1.507 GB, free: 9.875 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.5521, allocations: 76.78 kB / 1.507 GB, free: 9.797 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.5521, allocations: 8 kB / 1.507 GB, free: 9.789 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.5522, allocations: 34.56 kB / 1.507 GB, free: 9.746 MB / 1.201 GB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.5522, allocations: 0 / 1.507 GB, free: 9.746 MB / 1.201 GB Notification: Performance of matching and sorting (n=8): time 0.001961/0.5541, allocations: 382.3 kB / 1.507 GB, free: 9.363 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.798e-05/0.5542, allocations: 55.34 kB / 1.508 GB, free: 9.297 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.5544, allocations: 151.4 kB / 1.508 GB, free: 9.141 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.5544, allocations: 33.69 kB / 1.508 GB, free: 9.102 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.5545, allocations: 104.4 kB / 1.508 GB, free: 8.996 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.5545, allocations: 35.73 kB / 1.508 GB, free: 8.961 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.5546, allocations: 25.7 kB / 1.508 GB, free: 8.93 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.5547, allocations: 322.8 kB / 1.508 GB, free: 8.605 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.555, allocations: 67.94 kB / 1.508 GB, free: 8.539 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.5553, allocations: 112.2 kB / 1.508 GB, free: 8.414 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000495/0.5558, allocations: 180.1 kB / 1.509 GB, free: 8.223 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.5558, allocations: 3.984 kB / 1.509 GB, free: 8.219 MB / 1.201 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001074/0.5568, allocations: 278.1 kB / 1.509 GB, free: 7.938 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.5569, allocations: 7.938 kB / 1.509 GB, free: 7.93 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5569, allocations: 8.125 kB / 1.509 GB, free: 7.922 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006456/0.5575, allocations: 84.75 kB / 1.509 GB, free: 7.836 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.5577, allocations: 35.95 kB / 1.509 GB, free: 7.801 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.5602, allocations: 1.556 MB / 1.51 GB, free: 6.129 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.5604, allocations: 23.94 kB / 1.51 GB, free: 6.105 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.5604, allocations: 11.92 kB / 1.51 GB, free: 6.094 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.000141/0.5606, allocations: 117.8 kB / 1.511 GB, free: 5.969 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.5606, allocations: 7.953 kB / 1.511 GB, free: 5.961 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.5618, allocations: 325.6 kB / 1.511 GB, free: 5.637 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5618, allocations: 0 / 1.511 GB, free: 5.637 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5618, allocations: 4 kB / 1.511 GB, free: 5.633 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5618, allocations: 4.188 kB / 1.511 GB, free: 5.629 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.5621, allocations: 216.6 kB / 1.511 GB, free: 5.375 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.5621, allocations: 3.984 kB / 1.511 GB, free: 5.371 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.5623, allocations: 31.95 kB / 1.511 GB, free: 5.34 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004489/0.5628, allocations: 76.78 kB / 1.511 GB, free: 5.262 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.5628, allocations: 3.938 kB / 1.511 GB, free: 5.258 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.5649, allocations: 1.582 MB / 1.513 GB, free: 3.551 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5649, allocations: 0 / 1.513 GB, free: 3.551 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.5661, allocations: 380.1 kB / 1.513 GB, free: 3.16 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.872e-05/0.5662, allocations: 23.89 kB / 1.513 GB, free: 3.137 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.5662, allocations: 3.984 kB / 1.513 GB, free: 3.133 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.5664, allocations: 19.92 kB / 1.513 GB, free: 3.113 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.5665, allocations: 15.97 kB / 1.513 GB, free: 3.098 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.5665, allocations: 8 kB / 1.513 GB, free: 3.09 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001142/0.5666, allocations: 114.3 kB / 1.513 GB, free: 2.98 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5666, allocations: 0 / 1.513 GB, free: 2.98 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000372/0.567, allocations: 43.94 kB / 1.513 GB, free: 2.938 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.001566/0.5685, allocations: 0.9277 MB / 1.514 GB, free: 1.98 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009836/0.5695, allocations: 300.9 kB / 1.515 GB, free: 1.676 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5695, allocations: 4 kB / 1.515 GB, free: 1.672 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005705/0.5701, allocations: 230.5 kB / 1.515 GB, free: 1.434 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.5704, allocations: 27.98 kB / 1.515 GB, free: 1.406 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004547/0.575, allocations: 2.069 MB / 1.517 GB, free: 15.23 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.5755, allocations: 0.7124 MB / 1.518 GB, free: 14.5 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001773/0.5757, allocations: 29.09 kB / 1.518 GB, free: 14.46 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.5758, allocations: 39.36 kB / 1.518 GB, free: 14.43 MB / 1.217 GB Notification: Performance of SimCode: time 1.934e-06/0.5758, allocations: 0 / 1.518 GB, free: 14.43 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0474/0.6232, allocations: 4.879 MB / 1.522 GB, free: 9.707 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.14, allocations: 8.406 kB / 1.522 GB, free: 9.703 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: 20.242297021000013]