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.001323/0.001323, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001574/0.001574, allocations: 221.7 kB / 23.05 MB, free: 5.074 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.317/3.317, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="cs",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.002907/0.002907, allocations: 66.7 kB / 1.171 GB, free: 19.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3655, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003418/0.3689, allocations: 1.949 MB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2055/0.5744, allocations: 158.9 MB / 1.502 GB, free: 15.04 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.5745, allocations: 0 / 1.502 GB, free: 15.04 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.5747, allocations: 27.67 kB / 1.502 GB, free: 15.01 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.575, allocations: 83.47 kB / 1.502 GB, free: 14.93 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007076/0.5757, allocations: 269.4 kB / 1.503 GB, free: 14.67 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.5761, allocations: 263.2 kB / 1.503 GB, free: 14.41 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.5762, allocations: 54.47 kB / 1.503 GB, free: 14.36 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.5777, allocations: 247.5 kB / 1.503 GB, free: 14.14 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.5779, allocations: 99.59 kB / 1.503 GB, free: 14.04 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.5779, allocations: 12 kB / 1.503 GB, free: 14.03 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.5783, allocations: 191.7 kB / 1.504 GB, free: 13.84 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.5784, allocations: 43.84 kB / 1.504 GB, free: 13.8 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.5785, allocations: 103.5 kB / 1.504 GB, free: 13.7 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0004713/0.579, allocations: 290.9 kB / 1.504 GB, free: 13.41 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.579, allocations: 0 / 1.504 GB, free: 13.41 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.262e-06/0.579, allocations: 0 / 1.504 GB, free: 13.41 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.579, allocations: 0 / 1.504 GB, free: 13.41 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.0009987/0.58, allocations: 469.2 kB / 1.504 GB, free: 12.92 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.58, allocations: 12.03 kB / 1.504 GB, free: 12.91 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.788e-05/0.5801, allocations: 4.328 kB / 1.504 GB, free: 12.91 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.757e-05/0.5801, allocations: 50.55 kB / 1.504 GB, free: 12.85 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.5813, allocations: 115.7 kB / 1.505 GB, free: 12.73 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.5816, allocations: 178.7 kB / 1.505 GB, free: 12.54 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.349e-05/0.5817, allocations: 63.73 kB / 1.505 GB, free: 12.46 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.5818, allocations: 16 kB / 1.505 GB, free: 12.45 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.5823, allocations: 258.6 kB / 1.505 GB, free: 12.16 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.5823, allocations: 3.938 kB / 1.505 GB, free: 12.16 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.5824, allocations: 12 kB / 1.505 GB, free: 12.15 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.5824, allocations: 4 kB / 1.505 GB, free: 12.14 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.5829, allocations: 159.8 kB / 1.505 GB, free: 11.99 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.5848, allocations: 1.164 MB / 1.506 GB, free: 10.75 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008034/0.5856, allocations: 202.6 kB / 1.507 GB, free: 10.55 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.5858, allocations: 60.83 kB / 1.507 GB, free: 10.48 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.5858, allocations: 4 kB / 1.507 GB, free: 10.48 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.5859, allocations: 42.48 kB / 1.507 GB, free: 10.43 MB / 1.201 GB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/0.5859, allocations: 0 / 1.507 GB, free: 10.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=12): time 0.002659/0.5885, allocations: 486.8 kB / 1.507 GB, free: 9.941 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.5886, allocations: 51.41 kB / 1.507 GB, free: 9.879 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.5888, allocations: 218.9 kB / 1.507 GB, free: 9.652 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.5889, allocations: 29.7 kB / 1.507 GB, free: 9.617 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 9.972e-05/0.589, allocations: 144.2 kB / 1.508 GB, free: 9.473 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 9.582e-05/0.5891, allocations: 39.69 kB / 1.508 GB, free: 9.434 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.5892, allocations: 57.56 kB / 1.508 GB, free: 9.371 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.5893, allocations: 322.8 kB / 1.508 GB, free: 9.047 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.5895, allocations: 75.89 kB / 1.508 GB, free: 8.973 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.5898, allocations: 131.7 kB / 1.508 GB, free: 8.816 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.5903, allocations: 204.7 kB / 1.508 GB, free: 8.594 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5903, allocations: 0 / 1.508 GB, free: 8.594 MB / 1.201 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001484/0.5918, allocations: 370.8 kB / 1.509 GB, free: 8.219 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.5918, allocations: 4 kB / 1.509 GB, free: 8.215 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.5918, allocations: 4 kB / 1.509 GB, free: 8.211 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.5929, allocations: 161.8 kB / 1.509 GB, free: 8.047 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.5931, allocations: 43.89 kB / 1.509 GB, free: 8.004 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004335/0.5975, allocations: 3.046 MB / 1.512 GB, free: 4.723 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.5978, allocations: 35.81 kB / 1.512 GB, free: 4.688 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.5978, allocations: 11.92 kB / 1.512 GB, free: 4.676 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.000149/0.598, allocations: 129.8 kB / 1.512 GB, free: 4.539 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.5981, allocations: 19.86 kB / 1.512 GB, free: 4.52 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.5994, allocations: 382.3 kB / 1.512 GB, free: 4.137 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.5994, allocations: 4 kB / 1.512 GB, free: 4.133 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.5994, allocations: 0 / 1.512 GB, free: 4.133 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5994, allocations: 0 / 1.512 GB, free: 4.133 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.5998, allocations: 252.3 kB / 1.513 GB, free: 3.844 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5998, allocations: 0 / 1.513 GB, free: 3.844 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.5999, allocations: 19.98 kB / 1.513 GB, free: 3.824 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000844/0.6008, allocations: 141.6 kB / 1.513 GB, free: 3.68 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.6008, allocations: 7.984 kB / 1.513 GB, free: 3.672 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/0.6047, allocations: 3.094 MB / 1.516 GB, free: 348 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6047, allocations: 0 / 1.516 GB, free: 348 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.606, allocations: 432.8 kB / 1.516 GB, free: 15.89 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.6061, allocations: 39.72 kB / 1.516 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.6062, allocations: 7.984 kB / 1.516 GB, free: 15.85 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.6065, allocations: 19.98 kB / 1.516 GB, free: 15.83 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.6066, allocations: 11.97 kB / 1.516 GB, free: 15.82 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.6066, allocations: 8 kB / 1.516 GB, free: 15.81 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002093/0.6068, allocations: 163.1 kB / 1.517 GB, free: 15.65 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6068, allocations: 0 / 1.517 GB, free: 15.65 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004574/0.6072, allocations: 71.94 kB / 1.517 GB, free: 15.58 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.001729/0.609, allocations: 0.9732 MB / 1.518 GB, free: 14.57 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.6101, allocations: 441.7 kB / 1.518 GB, free: 14.11 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.6101, allocations: 8 kB / 1.518 GB, free: 14.11 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007023/0.6108, allocations: 346.5 kB / 1.518 GB, free: 13.74 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.6112, allocations: 63.84 kB / 1.518 GB, free: 13.68 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/0.6168, allocations: 2.547 MB / 1.521 GB, free: 11 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.6173, allocations: 0.7363 MB / 1.522 GB, free: 10.23 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001801/0.6175, allocations: 37.88 kB / 1.522 GB, free: 10.2 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.6176, allocations: 51.42 kB / 1.522 GB, free: 10.15 MB / 1.217 GB Notification: Performance of SimCode: time 6.01e-07/0.6176, allocations: 0 / 1.522 GB, free: 10.15 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/0.6541, allocations: 7.562 MB / 1.529 GB, free: 2.793 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.74, allocations: 4.062 kB / 1.529 GB, free: 2.789 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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.712682432029396]