Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 115.7 kB / 17.96 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 196.4 kB / 21.21 MB, free: 0.9141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 249.9 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.751/2.751, allocations: 476.7 MB / 0.7635 GB, free: 10.96 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 1.108 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6781, allocations: 168.7 MB / 1.272 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002806/0.681, allocations: 1.606 MB / 1.274 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.6825, allocations: 0.9283 MB / 1.275 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.588e-05/0.6826, allocations: 4 kB / 1.275 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.6828, allocations: 63.64 kB / 1.275 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004496/0.6833, allocations: 147.3 kB / 1.275 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.441e-05/0.6833, allocations: 11.92 kB / 1.275 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004313/0.6838, allocations: 366.3 kB / 1.275 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.069e-05/0.6838, allocations: 12.75 kB / 1.275 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.6841, allocations: 155.3 kB / 1.276 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.6843, allocations: 131.4 kB / 1.276 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.6843, allocations: 16 kB / 1.276 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.521e-05/0.6843, allocations: 16 kB / 1.276 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.246e-05/0.6844, allocations: 55.69 kB / 1.276 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.6846, allocations: 123.3 kB / 1.276 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.6849, allocations: 296.5 kB / 1.276 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.6849, allocations: 0 / 1.276 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6849, allocations: 0 / 1.276 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.6849, allocations: 0 / 1.276 GB, free: 0.5586 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001104/0.686, allocations: 0.6302 MB / 1.277 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.686, allocations: 12.03 kB / 1.277 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/0.6861, allocations: 34.73 kB / 1.277 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.6861, allocations: 36.64 kB / 1.277 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.6867, allocations: 398.6 kB / 1.277 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.842e-06/0.6867, allocations: 384 / 1.277 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.6867, allocations: 384 / 1.277 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.6869, allocations: 105.1 kB / 1.277 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.6869, allocations: 0 / 1.277 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.6869, allocations: 4 kB / 1.277 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.6869, allocations: 3.938 kB / 1.277 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.687, allocations: 67.92 kB / 1.277 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.6874, allocations: 352.1 kB / 1.278 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.6876, allocations: 110.4 kB / 1.278 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.099e-05/0.6877, allocations: 59.45 kB / 1.278 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.6877, allocations: 0 / 1.278 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.6877, allocations: 38.44 kB / 1.278 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.6877, allocations: 7.938 kB / 1.278 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003706/0.6881, allocations: 185.3 kB / 1.278 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.6882, allocations: 136.4 kB / 1.278 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006467/0.6888, allocations: 0.5093 MB / 1.279 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.6888, allocations: 25.7 kB / 1.279 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.689, allocations: 164.1 kB / 1.279 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.689, allocations: 16.33 kB / 1.279 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.6891, allocations: 25.72 kB / 1.279 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.6892, allocations: 342.8 kB / 1.279 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.882e-05/0.6893, allocations: 31.97 kB / 1.279 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-05/0.6894, allocations: 59.39 kB / 1.279 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.6895, allocations: 107.3 kB / 1.28 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6895, allocations: 0 / 1.28 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002332/0.6897, allocations: 153.2 kB / 1.28 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.6898, allocations: 5.875 kB / 1.28 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.6898, allocations: 4 kB / 1.28 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.6898, allocations: 0 / 1.28 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.6899, allocations: 15.92 kB / 1.28 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.6899, allocations: 4.125 kB / 1.28 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.6901, allocations: 11.98 kB / 1.28 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.6901, allocations: 4 kB / 1.28 GB, free: 12.62 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.6902, allocations: 178.3 kB / 1.28 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.6903, allocations: 31.75 kB / 1.28 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.6906, allocations: 187.9 kB / 1.28 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.6906, allocations: 8.031 kB / 1.28 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6906, allocations: 7.922 kB / 1.28 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.6907, allocations: 0 / 1.28 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.691, allocations: 313.4 kB / 1.28 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.691, allocations: 0 / 1.28 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.079e-05/0.6911, allocations: 23.92 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6911, allocations: 0 / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.6911, allocations: 4 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.6911, allocations: 0 / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.6911, allocations: 3.938 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.6913, allocations: 191.5 kB / 1.281 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.6915, allocations: 144.8 kB / 1.281 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.6915, allocations: 4 kB / 1.281 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.6917, allocations: 7.984 kB / 1.281 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.6917, allocations: 11.98 kB / 1.281 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.6917, allocations: 8 kB / 1.281 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000468/0.6922, allocations: 395 kB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.6922, allocations: 0 / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002491/0.6924, allocations: 43.88 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005502/0.693, allocations: 0.7318 MB / 1.282 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.6932, allocations: 83.86 kB / 1.282 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6932, allocations: 0 / 1.282 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.015e-05/0.6933, allocations: 43.91 kB / 1.282 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.6936, allocations: 65.97 kB / 1.282 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.6976, allocations: 3.19 MB / 1.285 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.698, allocations: 0.8143 MB / 1.286 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.6982, allocations: 54.25 kB / 1.286 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.6983, allocations: 83.39 kB / 1.286 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.6983, allocations: 0 / 1.286 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.729, allocations: 6.637 MB / 1.293 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.951, allocations: 8.219 kB / 1.293 GB, free: 15.23 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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: 14.783921817084774]