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.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.001292/0.001292, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001546/0.001546, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.418/1.418, allocations: 230.6 MB / 256 MB, free: 7.773 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.717/2.717, allocations: 476 MB / 0.7699 GB, free: 4.73 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.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: 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.002213/0.002213, allocations: 66.92 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2617, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002887/0.2646, allocations: 1.564 MB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.2662, allocations: 0.8586 MB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.684e-05/0.2663, allocations: 7.938 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.2665, allocations: 51.75 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005131/0.2671, allocations: 147.2 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.421e-05/0.2671, allocations: 11.98 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004542/0.2676, allocations: 372.7 kB / 1.285 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.047e-05/0.2676, allocations: 12.94 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.2679, allocations: 163.3 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.2682, allocations: 143.3 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/0.2682, allocations: 12 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.648e-05/0.2683, allocations: 16 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.658e-05/0.2683, allocations: 47.77 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.2685, allocations: 111.3 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.2688, allocations: 288.4 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2688, allocations: 4 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2688, allocations: 0 / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.954e-06/0.2688, allocations: 0 / 1.286 GB, free: 8.625 MB / 0.9825 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.001191/0.27, allocations: 0.5704 MB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.27, allocations: 8.031 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.2701, allocations: 34.75 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.078e-05/0.2701, allocations: 32.7 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.2707, allocations: 336.8 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.2707, allocations: 384 / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.2707, allocations: 4.375 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.2709, allocations: 105.1 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2709, allocations: 7.984 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.2709, allocations: 0 / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2709, allocations: 4 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.271, allocations: 63.88 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.2714, allocations: 299.2 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.2716, allocations: 110.4 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.512e-05/0.2716, allocations: 59.45 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.2717, allocations: 7.938 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.2717, allocations: 34.5 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.2717, allocations: 0 / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003475/0.272, allocations: 193.2 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.657e-05/0.2721, allocations: 132.5 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006592/0.2728, allocations: 0.5098 MB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.2728, allocations: 25.7 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.2729, allocations: 172.1 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.2729, allocations: 15.84 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.273, allocations: 17.72 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.2731, allocations: 342.8 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.2732, allocations: 35.97 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.2733, allocations: 63.33 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.2734, allocations: 99.36 kB / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2734, allocations: 4 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002233/0.2737, allocations: 153.2 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2737, allocations: 6.344 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.2737, allocations: 0 / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2737, allocations: 4 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.2738, allocations: 7.984 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2738, allocations: 4 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.2739, allocations: 7.984 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.2739, allocations: 8 kB / 1.29 GB, free: 4.902 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.0001615/0.2741, allocations: 181.8 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.2742, allocations: 39.7 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.2745, allocations: 187.6 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2745, allocations: 4 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.2745, allocations: 3.938 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2745, allocations: 0 / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.2748, allocations: 248.6 kB / 1.29 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2748, allocations: 128 / 1.29 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.457e-05/0.2749, allocations: 27.86 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2749, allocations: 0 / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2749, allocations: 4 kB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2749, allocations: 0 / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2749, allocations: 0 / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.2751, allocations: 199.3 kB / 1.29 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.2753, allocations: 79.69 kB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/0.2753, allocations: 4 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.2755, allocations: 11.98 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.2755, allocations: 7.984 kB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.2755, allocations: 12 kB / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004649/0.276, allocations: 391 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.276, allocations: 0 / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002482/0.2762, allocations: 39.94 kB / 1.291 GB, free: 3.41 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.0005421/0.2768, allocations: 0.7318 MB / 1.292 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.2769, allocations: 83.86 kB / 1.292 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2769, allocations: 0 / 1.292 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.18e-05/0.277, allocations: 52.14 kB / 1.292 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.2774, allocations: 59.45 kB / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003883/0.2813, allocations: 3.179 MB / 1.295 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.2814, allocations: 211.4 kB / 1.295 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001456/0.2816, allocations: 46.27 kB / 1.295 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.2817, allocations: 83.39 kB / 1.295 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.2817, allocations: 4 kB / 1.295 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03578/0.3175, allocations: 7.547 MB / 1.303 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.23, allocations: 16.61 kB / 1.303 GB, free: 7.449 MB / 0.9981 GB " [Timeout remaining time 288] (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/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: 17.586393331643194]