Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001732/0.001732, 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.002098/0.002098, allocations: 215.8 kB / 23.04 MB, free: 5.07 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.242/3.242, allocations: 0.49 GB / 0.7959 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_TDryBulPhi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_12_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.002004/0.002004, allocations: 69.38 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3582, allocations: 176.1 MB / 1.327 GB, free: 2.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00336/0.3616, allocations: 1.947 MB / 1.329 GB, free: 88 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1987/0.5603, allocations: 158.9 MB / 1.484 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.5605, allocations: 3.938 kB / 1.484 GB, free: 0.6016 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.5607, allocations: 27.73 kB / 1.484 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.5611, allocations: 79.41 kB / 1.484 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008784/0.562, allocations: 263.1 kB / 1.484 GB, free: 244 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000372/0.5623, allocations: 275.1 kB / 1.484 GB, free: 15.96 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.5625, allocations: 50.45 kB / 1.484 GB, free: 15.92 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.564, allocations: 257.9 kB / 1.485 GB, free: 15.69 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.5642, allocations: 91.59 kB / 1.485 GB, free: 15.6 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.5642, allocations: 16 kB / 1.485 GB, free: 15.59 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003983/0.5646, allocations: 191.7 kB / 1.485 GB, free: 15.4 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.5647, allocations: 43.84 kB / 1.485 GB, free: 15.36 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.5648, allocations: 95.5 kB / 1.485 GB, free: 15.26 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.5652, allocations: 290.9 kB / 1.485 GB, free: 14.98 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.5652, allocations: 4 kB / 1.485 GB, free: 14.97 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5652, allocations: 0 / 1.485 GB, free: 14.97 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.5653, allocations: 0 / 1.485 GB, free: 14.97 MB / 1.186 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.001009/0.5663, allocations: 473.2 kB / 1.486 GB, free: 14.48 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.5663, allocations: 8.031 kB / 1.486 GB, free: 14.47 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.946e-05/0.5663, allocations: 4.328 kB / 1.486 GB, free: 14.47 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.85e-05/0.5664, allocations: 54.55 kB / 1.486 GB, free: 14.41 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.5676, allocations: 111.7 kB / 1.486 GB, free: 14.3 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.5679, allocations: 168.8 kB / 1.486 GB, free: 14.11 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.568, allocations: 67.67 kB / 1.486 GB, free: 14.03 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.5681, allocations: 20 kB / 1.486 GB, free: 14.01 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/0.5687, allocations: 258.6 kB / 1.486 GB, free: 13.73 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5687, allocations: 8 kB / 1.486 GB, free: 13.72 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.5687, allocations: 7.938 kB / 1.486 GB, free: 13.71 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.5687, allocations: 4 kB / 1.486 GB, free: 13.71 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004915/0.5692, allocations: 164.3 kB / 1.487 GB, free: 13.55 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.5711, allocations: 1.156 MB / 1.488 GB, free: 12.32 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008004/0.5719, allocations: 198.6 kB / 1.488 GB, free: 12.12 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.5721, allocations: 68.81 kB / 1.488 GB, free: 12.05 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.5721, allocations: 0 / 1.488 GB, free: 12.05 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.5721, allocations: 34.5 kB / 1.488 GB, free: 12 MB / 1.186 GB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.5721, allocations: 0 / 1.488 GB, free: 12 MB / 1.186 GB Notification: Performance of matching and sorting (n=12): time 0.002757/0.5749, allocations: 498.7 kB / 1.488 GB, free: 11.5 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.5749, allocations: 55.41 kB / 1.489 GB, free: 11.44 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.5752, allocations: 222.7 kB / 1.489 GB, free: 11.21 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.5753, allocations: 25.7 kB / 1.489 GB, free: 11.18 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.5754, allocations: 132.3 kB / 1.489 GB, free: 11.04 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.952e-05/0.5755, allocations: 47.64 kB / 1.489 GB, free: 11 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.5756, allocations: 57.58 kB / 1.489 GB, free: 10.93 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.5758, allocations: 326.8 kB / 1.489 GB, free: 10.61 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.576, allocations: 67.95 kB / 1.489 GB, free: 10.54 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.5764, allocations: 133.3 kB / 1.49 GB, free: 10.38 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.5768, allocations: 198.7 kB / 1.49 GB, free: 10.16 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5768, allocations: 0 / 1.49 GB, free: 10.16 MB / 1.186 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001541/0.5784, allocations: 374.8 kB / 1.49 GB, free: 9.785 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.5784, allocations: 8 kB / 1.49 GB, free: 9.777 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5784, allocations: 0 / 1.49 GB, free: 9.777 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.5795, allocations: 165.8 kB / 1.49 GB, free: 9.609 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.5797, allocations: 39.89 kB / 1.49 GB, free: 9.57 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004285/0.584, allocations: 3.055 MB / 1.493 GB, free: 6.285 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/0.5844, allocations: 39.8 kB / 1.493 GB, free: 6.246 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.5845, allocations: 15.92 kB / 1.493 GB, free: 6.23 MB / 1.186 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.0001944/0.5847, allocations: 133.8 kB / 1.493 GB, free: 6.09 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.5847, allocations: 19.86 kB / 1.493 GB, free: 6.07 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.5861, allocations: 364.3 kB / 1.494 GB, free: 5.695 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5861, allocations: 4 kB / 1.494 GB, free: 5.691 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.5861, allocations: 0 / 1.494 GB, free: 5.691 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5861, allocations: 0 / 1.494 GB, free: 5.691 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.5865, allocations: 256.4 kB / 1.494 GB, free: 5.398 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5865, allocations: 4.188 kB / 1.494 GB, free: 5.395 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.5867, allocations: 19.98 kB / 1.494 GB, free: 5.375 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008547/0.5875, allocations: 145.5 kB / 1.494 GB, free: 5.227 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.5875, allocations: 0 / 1.494 GB, free: 5.227 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003928/0.5915, allocations: 3.098 MB / 1.497 GB, free: 1.887 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5915, allocations: 0 / 1.497 GB, free: 1.887 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.5928, allocations: 434.9 kB / 1.498 GB, free: 1.441 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.5929, allocations: 39.77 kB / 1.498 GB, free: 1.402 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.593, allocations: 3.953 kB / 1.498 GB, free: 1.398 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.5933, allocations: 19.97 kB / 1.498 GB, free: 1.379 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/0.5934, allocations: 23.97 kB / 1.498 GB, free: 1.355 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.5934, allocations: 4.125 kB / 1.498 GB, free: 1.352 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001998/0.5936, allocations: 159.2 kB / 1.498 GB, free: 1.195 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5936, allocations: 0 / 1.498 GB, free: 1.195 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004296/0.594, allocations: 67.94 kB / 1.498 GB, free: 1.129 MB / 1.186 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.00171/0.5957, allocations: 0.9737 MB / 1.499 GB, free: 124 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001164/0.5969, allocations: 449.5 kB / 1.499 GB, free: 15.66 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5969, allocations: 0 / 1.499 GB, free: 15.66 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.5977, allocations: 357.3 kB / 1.5 GB, free: 15.28 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.5981, allocations: 67.84 kB / 1.5 GB, free: 15.21 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005548/0.6037, allocations: 2.526 MB / 1.502 GB, free: 12.55 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.6041, allocations: 0.7361 MB / 1.503 GB, free: 11.79 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001998/0.6043, allocations: 41.88 kB / 1.503 GB, free: 11.75 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.6044, allocations: 51.41 kB / 1.503 GB, free: 11.7 MB / 1.201 GB Notification: Performance of SimCode: time 8.02e-07/0.6044, allocations: 4 kB / 1.503 GB, free: 11.7 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04082/0.6452, allocations: 7.565 MB / 1.51 GB, free: 4.352 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.87, allocations: 11.38 kB / 1.51 GB, free: 4.344 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.831998816982377]