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.00175/0.00175, allocations: 114.3 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.002016/0.002016, allocations: 215 kB / 22.25 MB, free: 5.086 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 8.02 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.228/3.228, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.002077/0.002077, allocations: 71.88 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3524, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003463/0.3559, allocations: 1.938 MB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1837/0.5396, allocations: 158.9 MB / 1.51 GB, free: 7.039 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.5397, allocations: 4 kB / 1.51 GB, free: 7.035 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.5399, allocations: 31.66 kB / 1.51 GB, free: 7.004 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.5402, allocations: 79.44 kB / 1.51 GB, free: 6.926 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007429/0.541, allocations: 265.5 kB / 1.51 GB, free: 6.668 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.5413, allocations: 259.2 kB / 1.511 GB, free: 6.414 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.5415, allocations: 56.64 kB / 1.511 GB, free: 6.359 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.5431, allocations: 253.9 kB / 1.511 GB, free: 6.133 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.5432, allocations: 95.59 kB / 1.511 GB, free: 6.039 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.5433, allocations: 12 kB / 1.511 GB, free: 6.027 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.5437, allocations: 191.7 kB / 1.511 GB, free: 5.84 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 7.285e-05/0.5438, allocations: 47.83 kB / 1.511 GB, free: 5.793 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.5439, allocations: 95.52 kB / 1.511 GB, free: 5.699 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0004954/0.5444, allocations: 294.8 kB / 1.512 GB, free: 5.41 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5444, allocations: 0 / 1.512 GB, free: 5.41 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5444, allocations: 4 kB / 1.512 GB, free: 5.406 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5444, allocations: 0 / 1.512 GB, free: 5.406 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001057/0.5454, allocations: 461.3 kB / 1.512 GB, free: 4.926 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5455, allocations: 12.03 kB / 1.512 GB, free: 4.914 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.722e-05/0.5456, allocations: 54.48 kB / 1.512 GB, free: 4.852 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.5467, allocations: 115.7 kB / 1.512 GB, free: 4.738 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.547, allocations: 172.8 kB / 1.512 GB, free: 4.543 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.604e-05/0.5471, allocations: 71.66 kB / 1.512 GB, free: 4.461 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.5471, allocations: 12 kB / 1.512 GB, free: 4.449 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.5477, allocations: 270.5 kB / 1.513 GB, free: 4.156 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5477, allocations: 0 / 1.513 GB, free: 4.156 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.5477, allocations: 8 kB / 1.513 GB, free: 4.148 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.5477, allocations: 4 kB / 1.513 GB, free: 4.145 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.5482, allocations: 171.7 kB / 1.513 GB, free: 3.977 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.55, allocations: 1.149 MB / 1.514 GB, free: 2.758 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000749/0.5507, allocations: 190.6 kB / 1.514 GB, free: 2.562 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.5509, allocations: 76.75 kB / 1.514 GB, free: 2.484 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.5509, allocations: 0 / 1.514 GB, free: 2.484 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.5509, allocations: 34.56 kB / 1.514 GB, free: 2.441 MB / 1.201 GB Notification: Performance of pre-optimization done (n=12): time 1.143e-06/0.5509, allocations: 0 / 1.514 GB, free: 2.441 MB / 1.201 GB Notification: Performance of matching and sorting (n=12): time 0.002807/0.5538, allocations: 490.7 kB / 1.515 GB, free: 1.949 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.5538, allocations: 55.41 kB / 1.515 GB, free: 1.883 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.5541, allocations: 222.7 kB / 1.515 GB, free: 1.656 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.5541, allocations: 33.64 kB / 1.515 GB, free: 1.617 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.5543, allocations: 144.2 kB / 1.515 GB, free: 1.473 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.5543, allocations: 39.69 kB / 1.515 GB, free: 1.434 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.5544, allocations: 49.64 kB / 1.515 GB, free: 1.379 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5546, allocations: 330.7 kB / 1.516 GB, free: 1.047 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.5548, allocations: 75.94 kB / 1.516 GB, free: 0.9727 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.5551, allocations: 130.3 kB / 1.516 GB, free: 0.8203 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.5555, allocations: 205.1 kB / 1.516 GB, free: 0.5977 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5555, allocations: 0 / 1.516 GB, free: 0.5977 MB / 1.201 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001545/0.5571, allocations: 374.8 kB / 1.516 GB, free: 224 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.5571, allocations: 4 kB / 1.516 GB, free: 220 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.5571, allocations: 4 kB / 1.516 GB, free: 216 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.5583, allocations: 161.8 kB / 1.516 GB, free: 48 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.5585, allocations: 35.91 kB / 1.516 GB, free: 12 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004346/0.5629, allocations: 3.054 MB / 1.519 GB, free: 12.71 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.5633, allocations: 31.81 kB / 1.519 GB, free: 12.68 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.5633, allocations: 8 kB / 1.519 GB, free: 12.68 MB / 1.217 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.0001554/0.5634, allocations: 137.7 kB / 1.52 GB, free: 12.53 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.5635, allocations: 20.05 kB / 1.52 GB, free: 12.51 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.5649, allocations: 369.9 kB / 1.52 GB, free: 12.14 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.5649, allocations: 7.984 kB / 1.52 GB, free: 12.13 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.5649, allocations: 0 / 1.52 GB, free: 12.13 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5649, allocations: 4 kB / 1.52 GB, free: 12.12 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.5652, allocations: 252.3 kB / 1.52 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5652, allocations: 0 / 1.52 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.5654, allocations: 23.97 kB / 1.52 GB, free: 11.82 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008538/0.5662, allocations: 141.6 kB / 1.52 GB, free: 11.67 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.5662, allocations: 0 / 1.52 GB, free: 11.67 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003923/0.5702, allocations: 3.102 MB / 1.523 GB, free: 8.336 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5702, allocations: 0 / 1.523 GB, free: 8.336 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.5715, allocations: 430.6 kB / 1.524 GB, free: 7.895 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.5716, allocations: 47.64 kB / 1.524 GB, free: 7.848 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.5717, allocations: 4 kB / 1.524 GB, free: 7.844 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.5719, allocations: 15.98 kB / 1.524 GB, free: 7.828 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/0.572, allocations: 19.91 kB / 1.524 GB, free: 7.809 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.5721, allocations: 8.109 kB / 1.524 GB, free: 7.801 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002415/0.5723, allocations: 167.9 kB / 1.524 GB, free: 7.637 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5723, allocations: 0 / 1.524 GB, free: 7.637 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004438/0.5727, allocations: 63.94 kB / 1.524 GB, free: 7.574 MB / 1.217 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.001745/0.5745, allocations: 0.9675 MB / 1.525 GB, free: 6.57 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.5756, allocations: 443.3 kB / 1.526 GB, free: 6.113 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5756, allocations: 0 / 1.526 GB, free: 6.113 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000741/0.5764, allocations: 357.1 kB / 1.526 GB, free: 5.738 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.5768, allocations: 75.77 kB / 1.526 GB, free: 5.664 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/0.5821, allocations: 2.515 MB / 1.528 GB, free: 3.004 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.5825, allocations: 0.7361 MB / 1.529 GB, free: 2.242 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001825/0.5827, allocations: 45.91 kB / 1.529 GB, free: 2.199 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.5828, allocations: 51.41 kB / 1.529 GB, free: 2.152 MB / 1.217 GB Notification: Performance of SimCode: time 7.91e-07/0.5828, allocations: 3.938 kB / 1.529 GB, free: 2.148 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04072/0.6235, allocations: 7.53 MB / 1.537 GB, free: 10.8 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.35, allocations: 9.219 kB / 1.537 GB, free: 10.8 MB / 1.232 GB " [Timeout remaining time 287] (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.252623265000693]