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.001293/0.001293, allocations: 113 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.001482/0.001482, allocations: 207.3 kB / 22.25 MB, free: 5.086 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 8.031 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.695/2.695, allocations: 476.7 MB / 0.7707 GB, free: 4.273 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.002012/0.002012, allocations: 71.25 kB / 1.117 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2725, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002975/0.2755, allocations: 1.625 MB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.2772, allocations: 0.9674 MB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.2773, allocations: 0 / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.2776, allocations: 67.66 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005276/0.2781, allocations: 143.3 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.812e-05/0.2781, allocations: 7.938 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.2786, allocations: 366.4 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.138e-05/0.2787, allocations: 24.86 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.279, allocations: 151.4 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.2792, allocations: 131.3 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.2792, allocations: 19.94 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.586e-05/0.2793, allocations: 20 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.623e-05/0.2794, allocations: 51.75 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.2795, allocations: 131.2 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.2799, allocations: 286.3 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2799, allocations: 0 / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2799, allocations: 0 / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.2799, allocations: 0 / 1.287 GB, free: 7.754 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.001212/0.2811, allocations: 0.5681 MB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2811, allocations: 8.031 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/0.2812, allocations: 34.75 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/0.2812, allocations: 32.7 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.2818, allocations: 336.7 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.2818, allocations: 4.375 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.2818, allocations: 8.375 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.282, allocations: 101.1 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.282, allocations: 0 / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.282, allocations: 3.984 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.282, allocations: 0 / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.2821, allocations: 67.88 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.2825, allocations: 327.2 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.2827, allocations: 106.4 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.607e-05/0.2828, allocations: 63.47 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.2828, allocations: 3.984 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.2828, allocations: 46.38 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2828, allocations: 0 / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003558/0.2832, allocations: 185.7 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.2833, allocations: 136.6 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006423/0.2839, allocations: 0.5132 MB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.2839, allocations: 29.7 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.284, allocations: 160.1 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.2841, allocations: 15.84 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.2841, allocations: 21.7 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.2843, allocations: 342.8 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.359e-05/0.2844, allocations: 39.95 kB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-05/0.2845, allocations: 55.41 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.2846, allocations: 103.3 kB / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2846, allocations: 0 / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002311/0.2848, allocations: 153.2 kB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.2849, allocations: 10.19 kB / 1.291 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.2849, allocations: 0 / 1.291 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2849, allocations: 0 / 1.291 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.285, allocations: 11.98 kB / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.285, allocations: 4 kB / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.2852, allocations: 11.92 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.2852, allocations: 7.984 kB / 1.291 GB, free: 4 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.000161/0.2853, allocations: 173.9 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.339e-05/0.2854, allocations: 39.7 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.2857, allocations: 183.7 kB / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2857, allocations: 0 / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.2857, allocations: 8 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2857, allocations: 0 / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.2861, allocations: 288.6 kB / 1.291 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2861, allocations: 4 kB / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.603e-05/0.2862, allocations: 19.88 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2862, allocations: 0 / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2862, allocations: 3.984 kB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2862, allocations: 4 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2862, allocations: 0 / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.2864, allocations: 195.3 kB / 1.291 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.2866, allocations: 63.62 kB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.2866, allocations: 8 kB / 1.292 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.2868, allocations: 11.97 kB / 1.292 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.2868, allocations: 12.02 kB / 1.292 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.2868, allocations: 4 kB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004934/0.2873, allocations: 399 kB / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.2873, allocations: 4 kB / 1.292 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002571/0.2876, allocations: 36 kB / 1.292 GB, free: 2.492 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.0005753/0.2881, allocations: 0.7357 MB / 1.293 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.2883, allocations: 87.86 kB / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2883, allocations: 0 / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.984e-05/0.2884, allocations: 47.84 kB / 1.293 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.2888, allocations: 66.06 kB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.2929, allocations: 3.171 MB / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.2933, allocations: 0.8221 MB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.2935, allocations: 50.27 kB / 1.297 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.2937, allocations: 79.41 kB / 1.297 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of SimCode: time 7.81e-07/0.2937, allocations: 0 / 1.297 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04515/0.3388, allocations: 6.795 MB / 1.304 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.42, allocations: 13.02 kB / 1.304 GB, free: 6.641 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 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.mat","/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.714399055810645]