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.001684/0.001684, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002262/0.002262, allocations: 216.1 kB / 22.25 MB, free: 5.113 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 8.004 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.301/3.301, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.002088/0.002088, allocations: 67.27 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3553, 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.00366/0.359, allocations: 1.7 MB / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1969/0.5559, allocations: 153 MB / 1.504 GB, free: 13.12 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.556, allocations: 3.938 kB / 1.504 GB, free: 13.12 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.5562, allocations: 23.8 kB / 1.504 GB, free: 13.1 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0004448/0.5567, allocations: 55.62 kB / 1.504 GB, free: 13.04 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006211/0.5573, allocations: 187.3 kB / 1.504 GB, free: 12.86 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.000316/0.5576, allocations: 167.5 kB / 1.504 GB, free: 12.7 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.5578, allocations: 21.25 kB / 1.504 GB, free: 12.68 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.5594, allocations: 211.8 kB / 1.505 GB, free: 12.5 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.5596, allocations: 59.77 kB / 1.505 GB, free: 12.44 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.5596, allocations: 15.98 kB / 1.505 GB, free: 12.42 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.56, allocations: 171.8 kB / 1.505 GB, free: 12.25 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 5.57e-05/0.56, allocations: 35.83 kB / 1.505 GB, free: 12.22 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 7.776e-05/0.5601, allocations: 51.73 kB / 1.505 GB, free: 12.17 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.5606, allocations: 215.2 kB / 1.505 GB, free: 11.96 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5606, allocations: 0 / 1.505 GB, free: 11.96 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5606, allocations: 0 / 1.505 GB, free: 11.96 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.5606, allocations: 0 / 1.505 GB, free: 11.96 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.001014/0.5616, allocations: 393.5 kB / 1.506 GB, free: 11.54 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.5617, allocations: 12.03 kB / 1.506 GB, free: 11.53 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.447e-05/0.5617, allocations: 38.73 kB / 1.506 GB, free: 11.48 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000929/0.5626, allocations: 84.52 kB / 1.506 GB, free: 11.4 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.5629, allocations: 152.9 kB / 1.506 GB, free: 11.23 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.5629, allocations: 4 kB / 1.506 GB, free: 11.22 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.563, allocations: 12 kB / 1.506 GB, free: 11.21 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/0.5634, allocations: 177.8 kB / 1.506 GB, free: 11.02 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.5634, allocations: 7.938 kB / 1.506 GB, free: 11.01 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.5635, allocations: 4 kB / 1.506 GB, free: 11 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.5635, allocations: 7.922 kB / 1.506 GB, free: 11 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004928/0.564, allocations: 151.7 kB / 1.506 GB, free: 10.85 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.5653, allocations: 0.7769 MB / 1.507 GB, free: 10 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.5657, allocations: 134.5 kB / 1.507 GB, free: 9.859 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.5659, allocations: 72.8 kB / 1.507 GB, free: 9.785 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.566, allocations: 0 / 1.507 GB, free: 9.785 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.566, allocations: 38.55 kB / 1.507 GB, free: 9.738 MB / 1.201 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.566, allocations: 0 / 1.507 GB, free: 9.738 MB / 1.201 GB Notification: Performance of matching and sorting (n=8): time 0.002019/0.568, allocations: 386.2 kB / 1.507 GB, free: 9.352 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.5681, allocations: 55.34 kB / 1.508 GB, free: 9.285 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.5682, allocations: 156.8 kB / 1.508 GB, free: 9.125 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.5683, allocations: 25.7 kB / 1.508 GB, free: 9.094 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.5683, allocations: 104.3 kB / 1.508 GB, free: 8.988 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.5684, allocations: 35.73 kB / 1.508 GB, free: 8.953 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.186e-05/0.5684, allocations: 33.7 kB / 1.508 GB, free: 8.914 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5686, allocations: 318.8 kB / 1.508 GB, free: 8.594 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.5688, allocations: 67.94 kB / 1.508 GB, free: 8.527 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.5691, allocations: 108.2 kB / 1.508 GB, free: 8.406 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004939/0.5696, allocations: 176.1 kB / 1.509 GB, free: 8.219 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5696, allocations: 0 / 1.509 GB, free: 8.219 MB / 1.201 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001065/0.5707, allocations: 278.1 kB / 1.509 GB, free: 7.938 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.5707, allocations: 12.88 kB / 1.509 GB, free: 7.926 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.5707, allocations: 4.125 kB / 1.509 GB, free: 7.922 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006328/0.5713, allocations: 88.69 kB / 1.509 GB, free: 7.832 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.5715, allocations: 35.97 kB / 1.509 GB, free: 7.797 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.5741, allocations: 1.568 MB / 1.51 GB, free: 6.113 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.5744, allocations: 19.97 kB / 1.51 GB, free: 6.094 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.5744, allocations: 19.91 kB / 1.51 GB, free: 6.074 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.000124/0.5745, allocations: 117.8 kB / 1.511 GB, free: 5.949 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.5746, allocations: 7.953 kB / 1.511 GB, free: 5.941 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.5757, allocations: 314.8 kB / 1.511 GB, free: 5.625 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.5757, allocations: 0 / 1.511 GB, free: 5.625 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.5757, allocations: 0 / 1.511 GB, free: 5.625 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5757, allocations: 8 kB / 1.511 GB, free: 5.617 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.576, allocations: 212.6 kB / 1.511 GB, free: 5.367 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.576, allocations: 0 / 1.511 GB, free: 5.367 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.5762, allocations: 31.97 kB / 1.511 GB, free: 5.336 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004569/0.5767, allocations: 76.7 kB / 1.511 GB, free: 5.258 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.5767, allocations: 11.94 kB / 1.511 GB, free: 5.246 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.5788, allocations: 1.578 MB / 1.513 GB, free: 3.543 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/0.5788, allocations: 4.125 kB / 1.513 GB, free: 3.539 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.5799, allocations: 378.7 kB / 1.513 GB, free: 3.152 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.945e-05/0.58, allocations: 31.88 kB / 1.513 GB, free: 3.121 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.5801, allocations: 0 / 1.513 GB, free: 3.121 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.5803, allocations: 19.91 kB / 1.513 GB, free: 3.102 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.5803, allocations: 19.98 kB / 1.513 GB, free: 3.082 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.5804, allocations: 3.984 kB / 1.513 GB, free: 3.078 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001148/0.5805, allocations: 116.9 kB / 1.513 GB, free: 2.965 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5805, allocations: 0 / 1.513 GB, free: 2.965 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003545/0.5808, allocations: 43.94 kB / 1.513 GB, free: 2.922 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.001534/0.5824, allocations: 0.92 MB / 1.514 GB, free: 1.973 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009971/0.5834, allocations: 310.6 kB / 1.515 GB, free: 1.656 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5834, allocations: 0 / 1.515 GB, free: 1.656 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000585/0.5839, allocations: 234.5 kB / 1.515 GB, free: 1.414 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.5843, allocations: 22.17 kB / 1.515 GB, free: 1.395 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.5886, allocations: 2.069 MB / 1.517 GB, free: 15.22 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.5891, allocations: 0.7124 MB / 1.518 GB, free: 14.48 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.5892, allocations: 24.91 kB / 1.518 GB, free: 14.46 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.5894, allocations: 39.41 kB / 1.518 GB, free: 14.42 MB / 1.217 GB Notification: Performance of SimCode: time 1.553e-06/0.5894, allocations: 0 / 1.518 GB, free: 14.42 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.6273, allocations: 4.872 MB / 1.522 GB, free: 9.703 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.62, allocations: 10.8 kB / 1.522 GB, free: 9.695 MB / 1.217 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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.588935542153195]