Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.001294/0.001294, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001429/0.001429, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.223/3.223, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",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.002012/0.002012, allocations: 65.56 kB / 1.186 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3178, allocations: 181.9 MB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002923/0.3208, allocations: 1.57 MB / 1.365 GB, free: 12.65 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.3223, allocations: 0.8734 MB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.151e-05/0.3224, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.3226, allocations: 55.67 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005073/0.3231, allocations: 147.3 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.712e-05/0.3232, allocations: 11.94 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.3237, allocations: 370.3 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.362e-05/0.3237, allocations: 13.22 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.324, allocations: 159.3 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.3243, allocations: 155.3 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/0.3243, allocations: 16 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.531e-05/0.3244, allocations: 16 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.486e-05/0.3245, allocations: 43.77 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.3246, allocations: 99.41 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.3249, allocations: 298.7 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3249, allocations: 0 / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3249, allocations: 0 / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.3249, allocations: 0 / 1.367 GB, free: 10.4 MB / 1.061 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.001154/0.3261, allocations: 0.5627 MB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3261, allocations: 12.03 kB / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.3262, allocations: 30.75 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.368e-05/0.3262, allocations: 36.7 kB / 1.368 GB, free: 9.723 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.3268, allocations: 336.7 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3268, allocations: 8.312 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.3268, allocations: 384 / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.327, allocations: 113.1 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.327, allocations: 0 / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.327, allocations: 0 / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.327, allocations: 0 / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.3271, allocations: 71.86 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.3275, allocations: 287.3 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.3277, allocations: 106.5 kB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.3278, allocations: 63.41 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.3278, allocations: 3.984 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.3278, allocations: 46.44 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.3278, allocations: 0 / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003508/0.3282, allocations: 181.3 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/0.3283, allocations: 132.5 kB / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/0.3289, allocations: 0.5132 MB / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3289, allocations: 29.7 kB / 1.37 GB, free: 7.66 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.329, allocations: 160.6 kB / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.329, allocations: 19.91 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.3291, allocations: 21.66 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3292, allocations: 346.8 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.058e-05/0.3293, allocations: 31.95 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.13e-05/0.3294, allocations: 55.41 kB / 1.37 GB, free: 7.008 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.3295, allocations: 103.3 kB / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3295, allocations: 0 / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002228/0.3297, allocations: 157.2 kB / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3298, allocations: 4 kB / 1.37 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3298, allocations: 4 kB / 1.37 GB, free: 6.727 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3298, allocations: 0 / 1.37 GB, free: 6.727 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3299, allocations: 15.98 kB / 1.37 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.3299, allocations: 0 / 1.37 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.33, allocations: 15.98 kB / 1.37 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.33, allocations: 3.984 kB / 1.37 GB, free: 6.691 MB / 1.061 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.0001637/0.3302, allocations: 177.8 kB / 1.371 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.3303, allocations: 43.73 kB / 1.371 GB, free: 6.465 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.3306, allocations: 191.7 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3306, allocations: 0 / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3306, allocations: 0 / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.3306, allocations: 4 kB / 1.371 GB, free: 6.266 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.3309, allocations: 248.6 kB / 1.371 GB, free: 5.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3309, allocations: 0 / 1.371 GB, free: 5.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.543e-05/0.331, allocations: 23.86 kB / 1.371 GB, free: 5.957 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.331, allocations: 8.125 kB / 1.371 GB, free: 5.949 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.331, allocations: 0 / 1.371 GB, free: 5.949 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.331, allocations: 4 kB / 1.371 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.331, allocations: 0 / 1.371 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.3313, allocations: 187.4 kB / 1.371 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.3314, allocations: 75.59 kB / 1.371 GB, free: 5.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.3315, allocations: 3.953 kB / 1.371 GB, free: 5.656 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.3316, allocations: 11.98 kB / 1.371 GB, free: 5.645 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.3317, allocations: 11.98 kB / 1.371 GB, free: 5.633 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.3317, allocations: 0 / 1.371 GB, free: 5.633 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004669/0.3321, allocations: 395 kB / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3321, allocations: 4 kB / 1.372 GB, free: 5.246 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002585/0.3324, allocations: 44 kB / 1.372 GB, free: 5.203 MB / 1.061 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.0005281/0.3329, allocations: 0.7279 MB / 1.372 GB, free: 4.438 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.3331, allocations: 83.86 kB / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3331, allocations: 0 / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.042e-05/0.3332, allocations: 48.34 kB / 1.373 GB, free: 4.309 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.3335, allocations: 64.02 kB / 1.373 GB, free: 4.246 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/0.3375, allocations: 3.184 MB / 1.376 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.3376, allocations: 211.4 kB / 1.376 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.3378, allocations: 54.23 kB / 1.376 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.3379, allocations: 83.41 kB / 1.376 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.3379, allocations: 0 / 1.376 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03623/0.3742, allocations: 7.555 MB / 1.383 GB, free: 9.242 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.81, allocations: 11.17 kB / 1.384 GB, free: 9.238 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.408179049380124]