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.002084/0.002084, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002391/0.002391, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.86/2.86, allocations: 476.7 MB / 0.7672 GB, free: 5.402 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.002107/0.002107, allocations: 70.09 kB / 1.112 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.809/0.8111, allocations: 169.9 MB / 1.278 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002957/0.8141, allocations: 1.708 MB / 1.28 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1865/1.001, allocations: 153 MB / 1.429 GB, free: 2.16 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/1.001, allocations: 4 kB / 1.429 GB, free: 2.156 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001716/1.001, allocations: 27.8 kB / 1.429 GB, free: 2.129 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0002739/1.001, allocations: 55.56 kB / 1.429 GB, free: 2.074 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/1.002, allocations: 183.3 kB / 1.43 GB, free: 1.895 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/1.002, allocations: 167.4 kB / 1.43 GB, free: 1.73 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/1.002, allocations: 33.08 kB / 1.43 GB, free: 1.695 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/1.003, allocations: 202 kB / 1.43 GB, free: 1.52 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/1.004, allocations: 59.77 kB / 1.43 GB, free: 1.461 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/1.004, allocations: 8 kB / 1.43 GB, free: 1.453 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/1.004, allocations: 175.7 kB / 1.43 GB, free: 1.281 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/1.004, allocations: 27.91 kB / 1.43 GB, free: 1.254 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 8.63e-05/1.004, allocations: 51.73 kB / 1.43 GB, free: 1.203 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.000375/1.004, allocations: 211.2 kB / 1.43 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/1.004, allocations: 4 kB / 1.43 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.473e-06/1.004, allocations: 0 / 1.43 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.004, allocations: 0 / 1.43 GB, free: 0.9922 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009272/1.005, allocations: 478.5 kB / 1.431 GB, free: 488 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/1.005, allocations: 12.03 kB / 1.431 GB, free: 476 kB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.762e-05/1.005, allocations: 42.73 kB / 1.431 GB, free: 424 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008857/1.006, allocations: 80.52 kB / 1.431 GB, free: 344 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/1.007, allocations: 202.9 kB / 1.431 GB, free: 100 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/1.007, allocations: 4 kB / 1.431 GB, free: 96 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/1.007, allocations: 8 kB / 1.431 GB, free: 88 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/1.007, allocations: 189.7 kB / 1.431 GB, free: 15.88 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.007, allocations: 4 kB / 1.431 GB, free: 15.88 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/1.007, allocations: 7.938 kB / 1.431 GB, free: 15.87 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/1.007, allocations: 0 / 1.431 GB, free: 15.87 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005344/1.008, allocations: 154.8 kB / 1.432 GB, free: 15.72 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/1.009, allocations: 0.8243 MB / 1.432 GB, free: 14.82 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/1.009, allocations: 126.5 kB / 1.433 GB, free: 14.68 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/1.01, allocations: 80.78 kB / 1.433 GB, free: 14.6 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/1.01, allocations: 0 / 1.433 GB, free: 14.6 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/1.01, allocations: 34.5 kB / 1.433 GB, free: 14.56 MB / 1.139 GB Notification: Performance of pre-optimization done (n=8): time 9.31e-07/1.01, allocations: 0 / 1.433 GB, free: 14.56 MB / 1.139 GB Notification: Performance of matching and sorting (n=8): time 0.002079/1.012, allocations: 459.4 kB / 1.433 GB, free: 14.08 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/1.012, allocations: 63.33 kB / 1.433 GB, free: 14.01 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/1.012, allocations: 148.7 kB / 1.433 GB, free: 13.85 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/1.012, allocations: 25.7 kB / 1.433 GB, free: 13.82 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 7.439e-05/1.012, allocations: 112.3 kB / 1.433 GB, free: 13.71 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/1.012, allocations: 31.73 kB / 1.433 GB, free: 13.68 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.946e-05/1.012, allocations: 33.7 kB / 1.433 GB, free: 13.64 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.012, allocations: 318.8 kB / 1.434 GB, free: 13.32 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/1.013, allocations: 71.94 kB / 1.434 GB, free: 13.25 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/1.013, allocations: 100.2 kB / 1.434 GB, free: 13.13 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/1.013, allocations: 180.1 kB / 1.434 GB, free: 12.94 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.013, allocations: 3.938 kB / 1.434 GB, free: 12.94 MB / 1.139 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001144/1.014, allocations: 278.1 kB / 1.434 GB, free: 12.66 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/1.015, allocations: 15.92 kB / 1.434 GB, free: 12.64 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.015, allocations: 3.938 kB / 1.434 GB, free: 12.64 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006325/1.015, allocations: 80.89 kB / 1.434 GB, free: 12.55 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/1.015, allocations: 39.89 kB / 1.435 GB, free: 12.52 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/1.018, allocations: 1.654 MB / 1.436 GB, free: 10.71 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/1.018, allocations: 27.94 kB / 1.436 GB, free: 10.69 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/1.018, allocations: 11.92 kB / 1.436 GB, free: 10.68 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.0001284/1.018, allocations: 117.8 kB / 1.436 GB, free: 10.55 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/1.018, allocations: 15.91 kB / 1.436 GB, free: 10.54 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/1.02, allocations: 314.9 kB / 1.437 GB, free: 10.22 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/1.02, allocations: 0 / 1.437 GB, free: 10.22 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/1.02, allocations: 0 / 1.437 GB, free: 10.22 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.02, allocations: 0 / 1.437 GB, free: 10.22 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/1.02, allocations: 245.5 kB / 1.437 GB, free: 9.934 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.02, allocations: 0 / 1.437 GB, free: 9.934 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/1.02, allocations: 43.89 kB / 1.437 GB, free: 9.891 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004545/1.021, allocations: 68.78 kB / 1.437 GB, free: 9.82 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/1.021, allocations: 3.938 kB / 1.437 GB, free: 9.816 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/1.023, allocations: 1.678 MB / 1.439 GB, free: 7.992 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.023, allocations: 4.062 kB / 1.439 GB, free: 7.988 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/1.024, allocations: 387.9 kB / 1.439 GB, free: 7.594 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/1.024, allocations: 101 kB / 1.439 GB, free: 7.477 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/1.024, allocations: 4 kB / 1.439 GB, free: 7.473 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/1.024, allocations: 19.92 kB / 1.439 GB, free: 7.453 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/1.024, allocations: 16.12 kB / 1.439 GB, free: 7.438 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/1.024, allocations: 15.91 kB / 1.439 GB, free: 7.422 MB / 1.139 GB Notification: Performance of sorting global known variables: time 9.146e-05/1.024, allocations: 113.7 kB / 1.439 GB, free: 7.312 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.024, allocations: 4 kB / 1.439 GB, free: 7.309 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000346/1.025, allocations: 40 kB / 1.439 GB, free: 7.27 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.001514/1.026, allocations: 0.9203 MB / 1.44 GB, free: 6.32 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0009565/1.027, allocations: 302.7 kB / 1.44 GB, free: 6.012 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/1.027, allocations: 7.938 kB / 1.44 GB, free: 6.004 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000608/1.028, allocations: 226.5 kB / 1.441 GB, free: 5.77 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/1.028, allocations: 30.41 kB / 1.441 GB, free: 5.742 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/1.032, allocations: 2.069 MB / 1.443 GB, free: 3.566 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/1.033, allocations: 0.7084 MB / 1.443 GB, free: 2.832 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001399/1.033, allocations: 28.81 kB / 1.443 GB, free: 2.801 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.58e-05/1.033, allocations: 43.41 kB / 1.443 GB, free: 2.758 MB / 1.139 GB Notification: Performance of SimCode: time 4.51e-07/1.033, allocations: 0 / 1.443 GB, free: 2.758 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/1.068, allocations: 4.758 MB / 1.448 GB, free: 14.17 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/13, allocations: 14.62 kB / 1.448 GB, free: 14.16 MB / 1.154 GB " [Timeout remaining time 287] (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: 19.285805193008855]