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.001709/0.001709, allocations: 106.5 kB / 16.45 MB, free: 6.488 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.002099/0.002099, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.502/1.502, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.868/2.868, allocations: 476.7 MB / 0.7672 GB, free: 5.238 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.002142/0.002142, allocations: 67.89 kB / 1.112 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.827/0.8291, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003301/0.8324, allocations: 1.945 MB / 1.28 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1876/1.02, allocations: 158.8 MB / 1.435 GB, free: 12.09 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/1.02, allocations: 4 kB / 1.435 GB, free: 12.08 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000187/1.02, allocations: 27.67 kB / 1.435 GB, free: 12.05 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.000352/1.021, allocations: 71.41 kB / 1.435 GB, free: 11.98 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008061/1.022, allocations: 271.1 kB / 1.436 GB, free: 11.72 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0004451/1.022, allocations: 263.2 kB / 1.436 GB, free: 11.46 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/1.022, allocations: 52.61 kB / 1.436 GB, free: 11.41 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/1.024, allocations: 258.6 kB / 1.436 GB, free: 11.18 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/1.024, allocations: 91.61 kB / 1.436 GB, free: 11.09 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/1.024, allocations: 12 kB / 1.436 GB, free: 11.07 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004206/1.025, allocations: 191.7 kB / 1.436 GB, free: 10.89 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 7.617e-05/1.025, allocations: 51.81 kB / 1.436 GB, free: 10.84 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/1.025, allocations: 91.53 kB / 1.437 GB, free: 10.75 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0005779/1.025, allocations: 298.8 kB / 1.437 GB, free: 10.45 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.025, allocations: 0 / 1.437 GB, free: 10.45 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.402e-06/1.025, allocations: 0 / 1.437 GB, free: 10.45 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.415e-05/1.025, allocations: 0 / 1.437 GB, free: 10.45 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001114/1.027, allocations: 0.5335 MB / 1.437 GB, free: 9.871 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.027, allocations: 12.03 kB / 1.437 GB, free: 9.859 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.565e-05/1.027, allocations: 54.55 kB / 1.437 GB, free: 9.797 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/1.028, allocations: 111.8 kB / 1.437 GB, free: 9.688 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/1.028, allocations: 234.6 kB / 1.438 GB, free: 9.418 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.753e-05/1.028, allocations: 45.97 kB / 1.438 GB, free: 9.367 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/1.028, allocations: 12 kB / 1.438 GB, free: 9.355 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/1.029, allocations: 266.5 kB / 1.438 GB, free: 9.066 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/1.029, allocations: 0 / 1.438 GB, free: 9.066 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/1.029, allocations: 4 kB / 1.438 GB, free: 9.062 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/1.029, allocations: 8 kB / 1.438 GB, free: 9.055 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005384/1.03, allocations: 171.8 kB / 1.438 GB, free: 8.887 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/1.031, allocations: 1.173 MB / 1.439 GB, free: 7.637 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008097/1.032, allocations: 202.6 kB / 1.44 GB, free: 7.43 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/1.032, allocations: 68.75 kB / 1.44 GB, free: 7.359 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/1.032, allocations: 7.984 kB / 1.44 GB, free: 7.352 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/1.032, allocations: 38.56 kB / 1.44 GB, free: 7.305 MB / 1.139 GB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/1.032, allocations: 0 / 1.44 GB, free: 7.305 MB / 1.139 GB Notification: Performance of matching and sorting (n=12): time 0.002907/1.035, allocations: 0.6298 MB / 1.44 GB, free: 6.625 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/1.035, allocations: 51.41 kB / 1.44 GB, free: 6.562 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/1.036, allocations: 215 kB / 1.441 GB, free: 6.34 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/1.036, allocations: 29.64 kB / 1.441 GB, free: 6.305 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/1.036, allocations: 148.1 kB / 1.441 GB, free: 6.156 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/1.036, allocations: 39.64 kB / 1.441 GB, free: 6.117 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/1.036, allocations: 53.58 kB / 1.441 GB, free: 6.059 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.036, allocations: 330.8 kB / 1.441 GB, free: 5.727 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/1.036, allocations: 71.94 kB / 1.441 GB, free: 5.656 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/1.037, allocations: 130.5 kB / 1.441 GB, free: 5.504 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/1.037, allocations: 198.7 kB / 1.441 GB, free: 5.285 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.037, allocations: 4 kB / 1.441 GB, free: 5.281 MB / 1.139 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001586/1.039, allocations: 372.6 kB / 1.442 GB, free: 4.906 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.039, allocations: 4 kB / 1.442 GB, free: 4.902 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.039, allocations: 4 kB / 1.442 GB, free: 4.898 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/1.04, allocations: 157.6 kB / 1.442 GB, free: 4.738 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/1.04, allocations: 47.91 kB / 1.442 GB, free: 4.691 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004643/1.045, allocations: 3.244 MB / 1.445 GB, free: 1.168 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/1.045, allocations: 39.92 kB / 1.445 GB, free: 1.129 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/1.045, allocations: 15.98 kB / 1.445 GB, free: 1.113 MB / 1.139 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.0001878/1.046, allocations: 130.3 kB / 1.445 GB, free: 0.9766 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/1.046, allocations: 15.91 kB / 1.445 GB, free: 0.9609 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/1.047, allocations: 374.1 kB / 1.446 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/1.047, allocations: 4 kB / 1.446 GB, free: 0.5742 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/1.047, allocations: 0 / 1.446 GB, free: 0.5742 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.047, allocations: 4 kB / 1.446 GB, free: 0.5703 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/1.047, allocations: 281.4 kB / 1.446 GB, free: 252 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.047, allocations: 4 kB / 1.446 GB, free: 248 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/1.048, allocations: 23.92 kB / 1.446 GB, free: 224 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008815/1.048, allocations: 141.7 kB / 1.446 GB, free: 76 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/1.048, allocations: 0 / 1.446 GB, free: 76 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004268/1.053, allocations: 3.305 MB / 1.449 GB, free: 12.48 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.053, allocations: 0 / 1.449 GB, free: 12.48 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/1.054, allocations: 440.7 kB / 1.45 GB, free: 12.03 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/1.054, allocations: 120.9 kB / 1.45 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/1.054, allocations: 3.953 kB / 1.45 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/1.055, allocations: 15.98 kB / 1.45 GB, free: 11.87 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/1.055, allocations: 19.91 kB / 1.45 GB, free: 11.85 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/1.055, allocations: 8 kB / 1.45 GB, free: 11.84 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002087/1.055, allocations: 155.2 kB / 1.45 GB, free: 11.69 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.055, allocations: 4 kB / 1.45 GB, free: 11.69 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004594/1.055, allocations: 71.94 kB / 1.45 GB, free: 11.62 MB / 1.154 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.001817/1.057, allocations: 0.9771 MB / 1.451 GB, free: 10.61 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00119/1.058, allocations: 445.6 kB / 1.452 GB, free: 10.14 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.058, allocations: 4 kB / 1.452 GB, free: 10.14 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007588/1.059, allocations: 345.2 kB / 1.452 GB, free: 9.777 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/1.06, allocations: 66.16 kB / 1.452 GB, free: 9.715 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005687/1.065, allocations: 2.525 MB / 1.454 GB, free: 7.055 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/1.066, allocations: 0.7361 MB / 1.455 GB, free: 6.293 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001895/1.066, allocations: 37.92 kB / 1.455 GB, free: 6.258 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/1.066, allocations: 55.41 kB / 1.455 GB, free: 6.203 MB / 1.154 GB Notification: Performance of SimCode: time 6.21e-07/1.066, allocations: 3.938 kB / 1.455 GB, free: 6.199 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04257/1.109, allocations: 7.334 MB / 1.462 GB, free: 15.07 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.29, allocations: 3.984 kB / 1.462 GB, free: 15.07 MB / 1.17 GB " [Timeout remaining time 287] (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: 19.698489163070917]