Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00187/0.00187, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002498/0.002498, allocations: 213.7 kB / 22.25 MB, free: 5.129 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.863/2.863, allocations: 476.7 MB / 0.7707 GB, free: 4.242 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_11_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.002075/0.002075, allocations: 68.41 kB / 1.117 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3093, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003529/0.3128, allocations: 1.708 MB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1864/0.4992, allocations: 153.1 MB / 1.434 GB, free: 348 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.4994, allocations: 0 / 1.434 GB, free: 348 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.4996, allocations: 27.73 kB / 1.435 GB, free: 320 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.4999, allocations: 47.62 kB / 1.435 GB, free: 272 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.5004, allocations: 195.3 kB / 1.435 GB, free: 76 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.5007, allocations: 163.5 kB / 1.435 GB, free: 15.91 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.5009, allocations: 25.28 kB / 1.435 GB, free: 15.89 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.5024, allocations: 198.6 kB / 1.435 GB, free: 15.72 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.5026, allocations: 63.75 kB / 1.435 GB, free: 15.66 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.5026, allocations: 8 kB / 1.435 GB, free: 15.65 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.5029, allocations: 179.7 kB / 1.435 GB, free: 15.48 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.503, allocations: 27.92 kB / 1.435 GB, free: 15.45 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 7.449e-05/0.5031, allocations: 55.7 kB / 1.435 GB, free: 15.39 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.5035, allocations: 211.2 kB / 1.436 GB, free: 15.19 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5035, allocations: 0 / 1.436 GB, free: 15.19 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5035, allocations: 0 / 1.436 GB, free: 15.19 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.5035, allocations: 0 / 1.436 GB, free: 15.19 MB / 1.139 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.0009301/0.5044, allocations: 401.4 kB / 1.436 GB, free: 14.77 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.5044, allocations: 12.03 kB / 1.436 GB, free: 14.75 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.651e-05/0.5045, allocations: 42.73 kB / 1.436 GB, free: 14.7 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009398/0.5054, allocations: 84.52 kB / 1.436 GB, free: 14.62 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.5057, allocations: 145.1 kB / 1.436 GB, free: 14.45 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.5057, allocations: 8 kB / 1.436 GB, free: 14.45 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.5057, allocations: 4 kB / 1.436 GB, free: 14.44 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.5062, allocations: 191.6 kB / 1.436 GB, free: 14.23 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5062, allocations: 3.938 kB / 1.436 GB, free: 14.23 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.5062, allocations: 0 / 1.436 GB, free: 14.23 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.5062, allocations: 4 kB / 1.436 GB, free: 14.23 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005254/0.5067, allocations: 151.7 kB / 1.437 GB, free: 14.08 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.508, allocations: 0.7923 MB / 1.437 GB, free: 13.21 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.5084, allocations: 126.4 kB / 1.438 GB, free: 13.08 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.5087, allocations: 80.78 kB / 1.438 GB, free: 13 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.5087, allocations: 3.984 kB / 1.438 GB, free: 13 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.5088, allocations: 30.56 kB / 1.438 GB, free: 12.96 MB / 1.139 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.5088, allocations: 4 kB / 1.438 GB, free: 12.95 MB / 1.139 GB Notification: Performance of matching and sorting (n=8): time 0.001977/0.5108, allocations: 382.1 kB / 1.438 GB, free: 12.57 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.5108, allocations: 59.34 kB / 1.438 GB, free: 12.5 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.511, allocations: 153.2 kB / 1.438 GB, free: 12.34 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.511, allocations: 25.7 kB / 1.438 GB, free: 12.31 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.5111, allocations: 104.4 kB / 1.438 GB, free: 12.2 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.5111, allocations: 35.72 kB / 1.438 GB, free: 12.17 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.367e-05/0.5112, allocations: 37.7 kB / 1.438 GB, free: 12.12 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5113, allocations: 318.8 kB / 1.439 GB, free: 11.8 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.5116, allocations: 67.88 kB / 1.439 GB, free: 11.74 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.5119, allocations: 112.2 kB / 1.439 GB, free: 11.61 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.5124, allocations: 176.1 kB / 1.439 GB, free: 11.43 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5124, allocations: 0 / 1.439 GB, free: 11.43 MB / 1.139 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00113/0.5135, allocations: 274.1 kB / 1.439 GB, free: 11.15 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.5135, allocations: 11.94 kB / 1.439 GB, free: 11.14 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5135, allocations: 4.125 kB / 1.439 GB, free: 11.13 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006466/0.5142, allocations: 84.7 kB / 1.439 GB, free: 11.05 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.5144, allocations: 39.95 kB / 1.439 GB, free: 11.01 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/0.5168, allocations: 1.549 MB / 1.441 GB, free: 9.344 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.517, allocations: 19.97 kB / 1.441 GB, free: 9.324 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.5171, allocations: 15.92 kB / 1.441 GB, free: 9.309 MB / 1.139 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.0001347/0.5172, allocations: 129.9 kB / 1.441 GB, free: 9.172 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.5173, allocations: 11.91 kB / 1.441 GB, free: 9.16 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.5184, allocations: 323.5 kB / 1.441 GB, free: 8.836 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.5184, allocations: 0 / 1.441 GB, free: 8.836 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.5184, allocations: 4 kB / 1.441 GB, free: 8.832 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.5184, allocations: 4 kB / 1.441 GB, free: 8.828 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.5187, allocations: 212.6 kB / 1.442 GB, free: 8.578 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5187, allocations: 0 / 1.442 GB, free: 8.578 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.5189, allocations: 31.95 kB / 1.442 GB, free: 8.547 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/0.5194, allocations: 72.78 kB / 1.442 GB, free: 8.473 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.5194, allocations: 7.938 kB / 1.442 GB, free: 8.465 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/0.5215, allocations: 1.574 MB / 1.443 GB, free: 6.766 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5215, allocations: 4.062 kB / 1.443 GB, free: 6.762 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.5226, allocations: 385.1 kB / 1.444 GB, free: 6.367 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.183e-05/0.5227, allocations: 19.94 kB / 1.444 GB, free: 6.348 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.5227, allocations: 7.938 kB / 1.444 GB, free: 6.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.5229, allocations: 23.91 kB / 1.444 GB, free: 6.316 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.523, allocations: 19.97 kB / 1.444 GB, free: 6.297 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.523, allocations: 4.062 kB / 1.444 GB, free: 6.293 MB / 1.139 GB Notification: Performance of sorting global known variables: time 9.499e-05/0.5231, allocations: 111.2 kB / 1.444 GB, free: 6.184 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5231, allocations: 0 / 1.444 GB, free: 6.184 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003372/0.5234, allocations: 43.94 kB / 1.444 GB, free: 6.141 MB / 1.139 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.001527/0.5249, allocations: 0.929 MB / 1.445 GB, free: 5.184 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0009091/0.5259, allocations: 298.7 kB / 1.445 GB, free: 4.879 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5259, allocations: 0 / 1.445 GB, free: 4.879 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006594/0.5265, allocations: 234.5 kB / 1.445 GB, free: 4.637 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.5268, allocations: 28.59 kB / 1.445 GB, free: 4.609 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.5311, allocations: 2.074 MB / 1.447 GB, free: 2.434 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.5315, allocations: 0.7124 MB / 1.448 GB, free: 1.695 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001382/0.5316, allocations: 16.98 kB / 1.448 GB, free: 1.676 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.453e-05/0.5317, allocations: 39.41 kB / 1.448 GB, free: 1.637 MB / 1.139 GB Notification: Performance of SimCode: time 5.82e-07/0.5317, allocations: 0 / 1.448 GB, free: 1.637 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.5677, allocations: 4.894 MB / 1.453 GB, free: 12.91 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.54, allocations: 9.812 kB / 1.453 GB, free: 12.91 MB / 1.154 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.31043958105147]