Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001619/0.001619, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002544/0.002544, allocations: 209.9 kB / 22.24 MB, free: 5.121 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.781 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.835/2.835, allocations: 476 MB / 0.7699 GB, free: 4.711 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_TDryBulPhi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_11_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.002123/0.002123, allocations: 68.75 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3135, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003573/0.3171, allocations: 1.866 MB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1784/0.4954, allocations: 136.7 MB / 1.418 GB, free: 1.297 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.4956, allocations: 7.875 kB / 1.418 GB, free: 1.289 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.4959, allocations: 27.73 kB / 1.418 GB, free: 1.262 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0004451/0.4963, allocations: 75.41 kB / 1.418 GB, free: 1.188 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008432/0.4972, allocations: 271.1 kB / 1.418 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0003927/0.4975, allocations: 259.2 kB / 1.419 GB, free: 0.668 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.4977, allocations: 54.05 kB / 1.419 GB, free: 0.6172 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.4993, allocations: 249.7 kB / 1.419 GB, free: 404 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.4995, allocations: 87.53 kB / 1.419 GB, free: 316 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.4995, allocations: 16 kB / 1.419 GB, free: 300 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.5, allocations: 175.8 kB / 1.419 GB, free: 124 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 8.245e-05/0.5001, allocations: 47.83 kB / 1.419 GB, free: 76 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.5002, allocations: 83.69 kB / 1.419 GB, free: 15.99 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0005691/0.5008, allocations: 294.8 kB / 1.419 GB, free: 15.7 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5008, allocations: 0 / 1.419 GB, free: 15.7 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5008, allocations: 0 / 1.419 GB, free: 15.7 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.5008, allocations: 0 / 1.419 GB, free: 15.7 MB / 1.123 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.001005/0.5018, allocations: 479.1 kB / 1.42 GB, free: 15.21 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.5018, allocations: 8.031 kB / 1.42 GB, free: 15.2 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.744e-05/0.5019, allocations: 54.48 kB / 1.42 GB, free: 15.14 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.5031, allocations: 111.7 kB / 1.42 GB, free: 15.03 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.5034, allocations: 168.8 kB / 1.42 GB, free: 14.84 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.5035, allocations: 67.67 kB / 1.42 GB, free: 14.76 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.5035, allocations: 20 kB / 1.42 GB, free: 14.74 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006212/0.5042, allocations: 318 kB / 1.421 GB, free: 14.39 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.5042, allocations: 0 / 1.421 GB, free: 14.39 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.5042, allocations: 8 kB / 1.421 GB, free: 14.38 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.5042, allocations: 4 kB / 1.421 GB, free: 14.38 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.5047, allocations: 171.8 kB / 1.421 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.5065, allocations: 1.117 MB / 1.422 GB, free: 13.02 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008219/0.5074, allocations: 198.7 kB / 1.422 GB, free: 12.82 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.5075, allocations: 64.81 kB / 1.422 GB, free: 12.75 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.5076, allocations: 0 / 1.422 GB, free: 12.75 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.5076, allocations: 38.56 kB / 1.422 GB, free: 12.7 MB / 1.123 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.5076, allocations: 0 / 1.422 GB, free: 12.7 MB / 1.123 GB Notification: Performance of matching and sorting (n=12): time 0.002706/0.5103, allocations: 498.6 kB / 1.423 GB, free: 12.2 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.5104, allocations: 55.34 kB / 1.423 GB, free: 12.14 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.5107, allocations: 218.9 kB / 1.423 GB, free: 11.91 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.5107, allocations: 25.7 kB / 1.423 GB, free: 11.88 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.5108, allocations: 148.2 kB / 1.423 GB, free: 11.73 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.5109, allocations: 39.64 kB / 1.423 GB, free: 11.7 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.511, allocations: 53.62 kB / 1.423 GB, free: 11.64 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5111, allocations: 330.8 kB / 1.424 GB, free: 11.3 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.5114, allocations: 71.94 kB / 1.424 GB, free: 11.23 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.5117, allocations: 153.4 kB / 1.424 GB, free: 11.05 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.5121, allocations: 204.5 kB / 1.424 GB, free: 10.83 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5121, allocations: 0 / 1.424 GB, free: 10.83 MB / 1.123 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001483/0.5136, allocations: 376.2 kB / 1.424 GB, free: 10.45 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.5136, allocations: 8 kB / 1.424 GB, free: 10.44 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5136, allocations: 0 / 1.424 GB, free: 10.44 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.5148, allocations: 161.7 kB / 1.424 GB, free: 10.28 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.515, allocations: 43.95 kB / 1.424 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004273/0.5192, allocations: 3.027 MB / 1.427 GB, free: 6.969 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/0.5196, allocations: 31.81 kB / 1.427 GB, free: 6.938 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.5196, allocations: 16.05 kB / 1.427 GB, free: 6.922 MB / 1.123 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.000145/0.5198, allocations: 136.7 kB / 1.428 GB, free: 6.781 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.5198, allocations: 19.86 kB / 1.428 GB, free: 6.762 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.5212, allocations: 368.4 kB / 1.428 GB, free: 6.387 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.5212, allocations: 0 / 1.428 GB, free: 6.387 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5212, allocations: 4 kB / 1.428 GB, free: 6.383 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5212, allocations: 192 / 1.428 GB, free: 6.383 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.5215, allocations: 232.3 kB / 1.428 GB, free: 6.113 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5215, allocations: 0 / 1.428 GB, free: 6.113 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.5216, allocations: 19.98 kB / 1.428 GB, free: 6.094 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000829/0.5225, allocations: 157.5 kB / 1.428 GB, free: 5.934 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.5225, allocations: 0 / 1.428 GB, free: 5.934 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003972/0.5264, allocations: 3.078 MB / 1.431 GB, free: 2.621 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5264, allocations: 0 / 1.431 GB, free: 2.621 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.5278, allocations: 430.5 kB / 1.432 GB, free: 2.18 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.5279, allocations: 39.66 kB / 1.432 GB, free: 2.141 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.5279, allocations: 11.98 kB / 1.432 GB, free: 2.129 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.5282, allocations: 15.98 kB / 1.432 GB, free: 2.113 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.5283, allocations: 15.97 kB / 1.432 GB, free: 2.098 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.5283, allocations: 8.125 kB / 1.432 GB, free: 2.09 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002095/0.5285, allocations: 163.1 kB / 1.432 GB, free: 1.93 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/0.5285, allocations: 0 / 1.432 GB, free: 1.93 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004465/0.529, allocations: 67.94 kB / 1.432 GB, free: 1.863 MB / 1.123 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.001687/0.5306, allocations: 0.9774 MB / 1.433 GB, free: 0.8516 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.5318, allocations: 441.7 kB / 1.433 GB, free: 404 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.5318, allocations: 4 kB / 1.433 GB, free: 400 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007183/0.5325, allocations: 353.2 kB / 1.434 GB, free: 20 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.533, allocations: 59.83 kB / 1.434 GB, free: 15.96 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005452/0.5384, allocations: 2.532 MB / 1.436 GB, free: 13.29 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.5386, allocations: 124.4 kB / 1.436 GB, free: 13.15 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001844/0.5387, allocations: 45.88 kB / 1.437 GB, free: 13.11 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.5389, allocations: 51.41 kB / 1.437 GB, free: 13.05 MB / 1.139 GB Notification: Performance of SimCode: time 7.02e-07/0.5389, allocations: 0 / 1.437 GB, free: 13.05 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05205/0.5909, allocations: 8.026 MB / 1.444 GB, free: 5.273 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/13.93, allocations: 2.938 kB / 1.444 GB, free: 5.273 MB / 1.139 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.81211558263749]