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.001678/0.001678, 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.00212/0.00212, allocations: 219.3 kB / 22.26 MB, free: 5.117 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 8.008 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.917/2.917, allocations: 476.7 MB / 0.7707 GB, free: 4.227 MB / 0.6231 GB " [Timeout remaining time 176] 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.002085/0.002085, allocations: 68.12 kB / 1.117 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3978, allocations: 169.9 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003314/0.4011, allocations: 1.709 MB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2047/0.6058, allocations: 153.1 MB / 1.434 GB, free: 248 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.6059, allocations: 4 kB / 1.434 GB, free: 244 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.6061, allocations: 23.73 kB / 1.435 GB, free: 220 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.6065, allocations: 55.62 kB / 1.435 GB, free: 164 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006455/0.6071, allocations: 187.4 kB / 1.435 GB, free: 15.97 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.6074, allocations: 167.5 kB / 1.435 GB, free: 15.81 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.6075, allocations: 25.28 kB / 1.435 GB, free: 15.79 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.609, allocations: 204.4 kB / 1.435 GB, free: 15.61 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.6092, allocations: 59.75 kB / 1.435 GB, free: 15.55 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.6092, allocations: 8 kB / 1.435 GB, free: 15.55 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004071/0.6096, allocations: 179.7 kB / 1.435 GB, free: 15.37 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.6096, allocations: 23.92 kB / 1.435 GB, free: 15.35 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 7.789e-05/0.6097, allocations: 59.7 kB / 1.435 GB, free: 15.29 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.6101, allocations: 207.3 kB / 1.436 GB, free: 15.09 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6101, allocations: 3.938 kB / 1.436 GB, free: 15.08 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6101, allocations: 0 / 1.436 GB, free: 15.08 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.6101, allocations: 0 / 1.436 GB, free: 15.08 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.000949/0.6111, allocations: 401.5 kB / 1.436 GB, free: 14.66 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.6111, allocations: 11.97 kB / 1.436 GB, free: 14.65 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.37e-05/0.6112, allocations: 42.73 kB / 1.436 GB, free: 14.6 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009262/0.6121, allocations: 80.52 kB / 1.436 GB, free: 14.52 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.6123, allocations: 145.1 kB / 1.436 GB, free: 14.35 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.6124, allocations: 8 kB / 1.436 GB, free: 14.34 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.6124, allocations: 4 kB / 1.436 GB, free: 14.34 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004926/0.6129, allocations: 189.7 kB / 1.436 GB, free: 14.13 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.6129, allocations: 0 / 1.436 GB, free: 14.13 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.6129, allocations: 4 kB / 1.436 GB, free: 14.13 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.6129, allocations: 4 kB / 1.436 GB, free: 14.12 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005036/0.6134, allocations: 147.7 kB / 1.437 GB, free: 13.98 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.6147, allocations: 0.7885 MB / 1.437 GB, free: 13.12 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.6151, allocations: 138.4 kB / 1.438 GB, free: 12.98 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.6154, allocations: 76.78 kB / 1.438 GB, free: 12.9 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.6154, allocations: 0 / 1.438 GB, free: 12.9 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.6155, allocations: 34.56 kB / 1.438 GB, free: 12.86 MB / 1.139 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.6155, allocations: 0 / 1.438 GB, free: 12.86 MB / 1.139 GB Notification: Performance of matching and sorting (n=8): time 0.002021/0.6175, allocations: 382.1 kB / 1.438 GB, free: 12.47 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.6175, allocations: 59.34 kB / 1.438 GB, free: 12.4 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.6177, allocations: 152.8 kB / 1.438 GB, free: 12.24 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.6177, allocations: 25.7 kB / 1.438 GB, free: 12.21 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.6178, allocations: 112.2 kB / 1.438 GB, free: 12.1 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.6178, allocations: 35.88 kB / 1.438 GB, free: 12.06 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.6179, allocations: 29.7 kB / 1.438 GB, free: 12.03 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.618, allocations: 322.8 kB / 1.439 GB, free: 11.7 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.6183, allocations: 75.86 kB / 1.439 GB, free: 11.63 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.6186, allocations: 100.2 kB / 1.439 GB, free: 11.52 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005378/0.6191, allocations: 180.1 kB / 1.439 GB, free: 11.32 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6191, allocations: 0 / 1.439 GB, free: 11.32 MB / 1.139 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001125/0.6202, allocations: 278.2 kB / 1.439 GB, free: 11.04 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.6203, allocations: 9.5 kB / 1.439 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6203, allocations: 0 / 1.439 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006713/0.6209, allocations: 88.83 kB / 1.439 GB, free: 10.95 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.6212, allocations: 35.95 kB / 1.439 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/0.6236, allocations: 1.558 MB / 1.441 GB, free: 9.238 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.6238, allocations: 15.94 kB / 1.441 GB, free: 9.223 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.6239, allocations: 11.92 kB / 1.441 GB, free: 9.211 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.0001354/0.624, allocations: 129.7 kB / 1.441 GB, free: 9.074 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.624, allocations: 11.91 kB / 1.441 GB, free: 9.062 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.6252, allocations: 318.5 kB / 1.441 GB, free: 8.746 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.6252, allocations: 4 kB / 1.441 GB, free: 8.742 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.6252, allocations: 0 / 1.441 GB, free: 8.742 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6252, allocations: 0 / 1.441 GB, free: 8.742 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.6255, allocations: 212.6 kB / 1.442 GB, free: 8.492 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.6255, allocations: 4 kB / 1.442 GB, free: 8.488 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.6257, allocations: 35.95 kB / 1.442 GB, free: 8.453 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/0.6262, allocations: 72.97 kB / 1.442 GB, free: 8.379 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.6262, allocations: 15.92 kB / 1.442 GB, free: 8.363 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.6283, allocations: 1.586 MB / 1.443 GB, free: 6.652 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.6283, allocations: 0 / 1.443 GB, free: 6.652 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.6294, allocations: 376.1 kB / 1.444 GB, free: 6.266 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.6295, allocations: 19.94 kB / 1.444 GB, free: 6.246 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.6295, allocations: 11.98 kB / 1.444 GB, free: 6.234 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.6298, allocations: 23.8 kB / 1.444 GB, free: 6.211 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/0.6298, allocations: 15.97 kB / 1.444 GB, free: 6.195 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.6299, allocations: 4 kB / 1.444 GB, free: 6.191 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001082/0.63, allocations: 117.5 kB / 1.444 GB, free: 6.078 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.63, allocations: 0 / 1.444 GB, free: 6.078 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003877/0.6304, allocations: 47.94 kB / 1.444 GB, free: 6.031 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.001516/0.6319, allocations: 0.9238 MB / 1.445 GB, free: 5.078 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0009524/0.6328, allocations: 298.7 kB / 1.445 GB, free: 4.773 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6328, allocations: 0 / 1.445 GB, free: 4.773 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005557/0.6334, allocations: 230.5 kB / 1.445 GB, free: 4.535 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.6337, allocations: 24.59 kB / 1.445 GB, free: 4.512 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.6381, allocations: 2.068 MB / 1.447 GB, free: 2.34 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.6385, allocations: 0.7085 MB / 1.448 GB, free: 1.605 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001643/0.6386, allocations: 37.03 kB / 1.448 GB, free: 1.566 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.6387, allocations: 31.42 kB / 1.448 GB, free: 1.535 MB / 1.139 GB Notification: Performance of SimCode: time 1.393e-06/0.6387, allocations: 4 kB / 1.448 GB, free: 1.531 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.6752, allocations: 4.893 MB / 1.453 GB, free: 12.8 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.13, allocations: 6.797 kB / 1.453 GB, free: 12.8 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_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_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.csv","/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.138474297000357]