Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001778/0.001778, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002236/0.002236, allocations: 217.4 kB / 22.26 MB, free: 5.082 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.034/3.034, allocations: 0.49 GB / 0.7951 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_12_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.001982/0.001982, allocations: 67.19 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.316, allocations: 176.1 MB / 1.326 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002732/0.3188, allocations: 1.617 MB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3202, allocations: 0.9618 MB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.3203, allocations: 8 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.3205, allocations: 67.64 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004206/0.321, allocations: 143.3 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.437e-05/0.321, allocations: 7.984 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004495/0.3214, allocations: 366.3 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.797e-05/0.3215, allocations: 21.2 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.3218, allocations: 155.4 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.322, allocations: 139.3 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.322, allocations: 12 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.188e-05/0.3221, allocations: 16 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.3221, allocations: 51.7 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.3223, allocations: 131.2 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.3226, allocations: 290.7 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3226, allocations: 0 / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3226, allocations: 4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3226, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 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.001109/0.3237, allocations: 0.5626 MB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3237, allocations: 8.031 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.3238, allocations: 38.75 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.3238, allocations: 32.75 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.3244, allocations: 340.7 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.3244, allocations: 384 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.3244, allocations: 4.375 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.3245, allocations: 105.2 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.3246, allocations: 4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3246, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3246, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.3247, allocations: 71.81 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.3251, allocations: 319.2 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.3252, allocations: 110.3 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.3254, allocations: 67.45 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3254, allocations: 4 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.3254, allocations: 38.5 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.3254, allocations: 0 / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003882/0.3258, allocations: 189.2 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/0.3259, allocations: 128.5 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006732/0.3266, allocations: 0.517 MB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3266, allocations: 33.64 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.3267, allocations: 164.6 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.3268, allocations: 15.89 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.3268, allocations: 21.7 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.327, allocations: 342.8 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.805e-05/0.327, allocations: 35.95 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.3271, allocations: 55.41 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3273, allocations: 107.3 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3273, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002106/0.3275, allocations: 149.3 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3275, allocations: 4 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.3275, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3275, allocations: 8.125 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.3276, allocations: 7.984 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3276, allocations: 7.938 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.3278, allocations: 7.984 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3278, allocations: 7.984 kB / 1.333 GB, free: 10.25 MB / 1.029 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.0001675/0.3279, allocations: 177.7 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.328, allocations: 43.69 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.3283, allocations: 187.7 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3283, allocations: 0 / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3283, allocations: 4 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3283, allocations: 0 / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.3286, allocations: 276.5 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3286, allocations: 4 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.913e-05/0.3287, allocations: 15.94 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3287, allocations: 0 / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3287, allocations: 3.984 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3288, allocations: 8.125 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3288, allocations: 0 / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.329, allocations: 195.3 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.3292, allocations: 71.62 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.3292, allocations: 7.922 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.3294, allocations: 15.98 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.3294, allocations: 0 / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.3294, allocations: 4 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004757/0.3299, allocations: 403 kB / 1.334 GB, free: 8.781 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3299, allocations: 0 / 1.334 GB, free: 8.781 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000245/0.3301, allocations: 36 kB / 1.335 GB, free: 8.746 MB / 1.029 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.0005677/0.3307, allocations: 0.7372 MB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.3309, allocations: 83.86 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3309, allocations: 0 / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.129e-05/0.331, allocations: 48.16 kB / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.3313, allocations: 57.62 kB / 1.335 GB, free: 7.785 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.3352, allocations: 3.186 MB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.3357, allocations: 0.8182 MB / 1.339 GB, free: 3.637 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000128/0.3358, allocations: 50.25 kB / 1.339 GB, free: 3.586 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.336, allocations: 79.41 kB / 1.339 GB, free: 3.508 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.336, allocations: 8 kB / 1.339 GB, free: 3.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.3695, allocations: 6.797 MB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.28, allocations: 9.5 kB / 1.346 GB, free: 12.89 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.763823310999214]