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.001614/0.001614, allocations: 108.9 kB / 16.46 MB, free: 6.508 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.00192/0.00192, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.561/1.561, allocations: 230.6 MB / 252.8 MB, free: 9.09 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.282/3.282, allocations: 0.505 GB / 0.8066 GB, free: 23.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.002064/0.002064, allocations: 82.58 kB / 1.172 GB, free: 17.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3824, allocations: 180.2 MB / 1.348 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003843/0.3862, allocations: 1.947 MB / 1.35 GB, free: 8.168 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1933/0.5795, allocations: 158.8 MB / 1.505 GB, free: 8.801 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.5798, allocations: 3.938 kB / 1.505 GB, free: 8.797 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.58, allocations: 31.67 kB / 1.505 GB, free: 8.766 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0006584/0.5807, allocations: 75.41 kB / 1.505 GB, free: 8.691 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.5818, allocations: 265.6 kB / 1.505 GB, free: 8.434 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0005377/0.5823, allocations: 263.2 kB / 1.505 GB, free: 8.176 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.5825, allocations: 50.41 kB / 1.505 GB, free: 8.125 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.5844, allocations: 249.8 kB / 1.506 GB, free: 7.902 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.5846, allocations: 95.59 kB / 1.506 GB, free: 7.809 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.5846, allocations: 16 kB / 1.506 GB, free: 7.793 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004601/0.5851, allocations: 195.7 kB / 1.506 GB, free: 7.602 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 7.457e-05/0.5851, allocations: 43.84 kB / 1.506 GB, free: 7.559 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.5852, allocations: 91.52 kB / 1.506 GB, free: 7.469 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.5858, allocations: 294.8 kB / 1.506 GB, free: 7.18 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5858, allocations: 0 / 1.506 GB, free: 7.18 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5858, allocations: 0 / 1.506 GB, free: 7.18 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.5858, allocations: 0 / 1.506 GB, free: 7.18 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.001106/0.5869, allocations: 0.5374 MB / 1.507 GB, free: 6.594 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.587, allocations: 11.98 kB / 1.507 GB, free: 6.582 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.355e-05/0.5871, allocations: 58.55 kB / 1.507 GB, free: 6.516 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.5884, allocations: 111.8 kB / 1.507 GB, free: 6.406 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.5887, allocations: 236.3 kB / 1.507 GB, free: 6.137 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.232e-05/0.5888, allocations: 38.03 kB / 1.507 GB, free: 6.094 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.5889, allocations: 19.94 kB / 1.507 GB, free: 6.074 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005713/0.5895, allocations: 254.7 kB / 1.508 GB, free: 5.797 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5895, allocations: 3.938 kB / 1.508 GB, free: 5.793 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.5895, allocations: 8 kB / 1.508 GB, free: 5.785 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.5895, allocations: 7.984 kB / 1.508 GB, free: 5.777 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004911/0.59, allocations: 167.8 kB / 1.508 GB, free: 5.613 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.5918, allocations: 1.185 MB / 1.509 GB, free: 4.352 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007874/0.5926, allocations: 194.6 kB / 1.509 GB, free: 4.152 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.5928, allocations: 72.81 kB / 1.509 GB, free: 4.078 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.5929, allocations: 3.938 kB / 1.509 GB, free: 4.074 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.5929, allocations: 34.56 kB / 1.509 GB, free: 4.031 MB / 1.201 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.5929, allocations: 3.938 kB / 1.509 GB, free: 4.027 MB / 1.201 GB Notification: Performance of matching and sorting (n=12): time 0.002878/0.5958, allocations: 0.6259 MB / 1.51 GB, free: 3.352 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.5958, allocations: 55.41 kB / 1.51 GB, free: 3.285 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.5961, allocations: 214.8 kB / 1.51 GB, free: 3.062 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.5961, allocations: 29.7 kB / 1.51 GB, free: 3.027 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.5962, allocations: 148.1 kB / 1.51 GB, free: 2.879 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.5963, allocations: 43.62 kB / 1.51 GB, free: 2.836 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.5964, allocations: 49.64 kB / 1.51 GB, free: 2.781 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.5965, allocations: 330.8 kB / 1.511 GB, free: 2.449 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.5967, allocations: 71.94 kB / 1.511 GB, free: 2.379 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.597, allocations: 129.1 kB / 1.511 GB, free: 2.227 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/0.5975, allocations: 218.3 kB / 1.511 GB, free: 1.992 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5975, allocations: 0 / 1.511 GB, free: 1.992 MB / 1.201 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001576/0.5991, allocations: 370.9 kB / 1.511 GB, free: 1.617 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.5991, allocations: 8 kB / 1.511 GB, free: 1.609 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.5991, allocations: 0 / 1.511 GB, free: 1.609 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.6003, allocations: 157.6 kB / 1.511 GB, free: 1.449 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.6005, allocations: 43.91 kB / 1.512 GB, free: 1.406 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004468/0.605, allocations: 3.243 MB / 1.515 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.6054, allocations: 35.88 kB / 1.515 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.6054, allocations: 11.98 kB / 1.515 GB, free: 13.83 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.0001581/0.6056, allocations: 130 kB / 1.515 GB, free: 13.7 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-05/0.6056, allocations: 23.84 kB / 1.515 GB, free: 13.67 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.607, allocations: 368.3 kB / 1.515 GB, free: 13.3 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.607, allocations: 3.938 kB / 1.515 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.607, allocations: 0 / 1.515 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.607, allocations: 8 kB / 1.515 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.6074, allocations: 285.2 kB / 1.516 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6074, allocations: 0 / 1.516 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.6076, allocations: 19.98 kB / 1.516 GB, free: 12.94 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008726/0.6084, allocations: 141.6 kB / 1.516 GB, free: 12.79 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.6085, allocations: 0 / 1.516 GB, free: 12.79 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004088/0.6125, allocations: 3.312 MB / 1.519 GB, free: 9.191 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6125, allocations: 0 / 1.519 GB, free: 9.191 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.6139, allocations: 426.8 kB / 1.519 GB, free: 8.754 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.6141, allocations: 120.9 kB / 1.519 GB, free: 8.617 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.6141, allocations: 0 / 1.519 GB, free: 8.617 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.6144, allocations: 19.92 kB / 1.519 GB, free: 8.598 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.555e-05/0.6145, allocations: 23.91 kB / 1.519 GB, free: 8.574 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.6145, allocations: 4 kB / 1.519 GB, free: 8.57 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002151/0.6147, allocations: 163.2 kB / 1.52 GB, free: 8.41 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6147, allocations: 4 kB / 1.52 GB, free: 8.406 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004662/0.6152, allocations: 63.94 kB / 1.52 GB, free: 8.344 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.001813/0.617, allocations: 0.9776 MB / 1.521 GB, free: 7.332 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.6182, allocations: 445.7 kB / 1.521 GB, free: 6.871 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6182, allocations: 0 / 1.521 GB, free: 6.871 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000748/0.6189, allocations: 341.3 kB / 1.521 GB, free: 6.512 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.6194, allocations: 67.78 kB / 1.521 GB, free: 6.445 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0056/0.625, allocations: 2.53 MB / 1.524 GB, free: 3.777 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.6254, allocations: 0.7439 MB / 1.525 GB, free: 3.008 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002243/0.6256, allocations: 33.98 kB / 1.525 GB, free: 2.977 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.6257, allocations: 55.41 kB / 1.525 GB, free: 2.926 MB / 1.217 GB Notification: Performance of SimCode: time 7.42e-07/0.6257, allocations: 3.938 kB / 1.525 GB, free: 2.922 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03969/0.6654, allocations: 7.339 MB / 1.532 GB, free: 11.81 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.13, allocations: 2.344 kB / 1.532 GB, free: 11.81 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.1433477262035]