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.00221/0.00221, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002905/0.002905, allocations: 214.4 kB / 23.04 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.434/1.434, allocations: 230.6 MB / 256.8 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.634/2.634, allocations: 476.7 MB / 0.7714 GB, free: 4.348 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="cs",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.001906/0.001906, allocations: 59.88 kB / 1.118 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2997, allocations: 169.9 MB / 1.284 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002765/0.3025, allocations: 1.625 MB / 1.286 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3039, allocations: 0.9632 MB / 1.287 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.304, allocations: 4 kB / 1.287 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.3042, allocations: 63.66 kB / 1.287 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004343/0.3047, allocations: 143.3 kB / 1.287 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.289e-05/0.3047, allocations: 4 kB / 1.287 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.3051, allocations: 384.7 kB / 1.287 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.37e-05/0.3052, allocations: 13.22 kB / 1.287 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.3054, allocations: 159.3 kB / 1.287 GB, free: 488 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.3057, allocations: 131.4 kB / 1.287 GB, free: 356 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.3057, allocations: 12 kB / 1.288 GB, free: 344 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.748e-05/0.3057, allocations: 16 kB / 1.288 GB, free: 328 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.3058, allocations: 51.7 kB / 1.288 GB, free: 276 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.3059, allocations: 135.2 kB / 1.288 GB, free: 140 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.3062, allocations: 286.7 kB / 1.288 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3062, allocations: 4 kB / 1.288 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3062, allocations: 0 / 1.288 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3062, allocations: 0 / 1.288 GB, free: 15.85 MB / 0.9981 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.001071/0.3073, allocations: 0.5665 MB / 1.289 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3074, allocations: 16.03 kB / 1.289 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.202e-05/0.3074, allocations: 192 / 1.289 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.3074, allocations: 34.75 kB / 1.289 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.75e-05/0.3075, allocations: 36.69 kB / 1.289 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/0.3079, allocations: 332.7 kB / 1.289 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.3079, allocations: 4.375 kB / 1.289 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.308, allocations: 4.312 kB / 1.289 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.3081, allocations: 113 kB / 1.289 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3081, allocations: 0 / 1.289 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.3081, allocations: 0 / 1.289 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3082, allocations: 7.938 kB / 1.289 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.604e-05/0.3082, allocations: 59.94 kB / 1.289 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.3086, allocations: 327.2 kB / 1.289 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.3088, allocations: 110.5 kB / 1.29 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/0.3088, allocations: 55.41 kB / 1.29 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.3089, allocations: 11.92 kB / 1.29 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.3089, allocations: 34.5 kB / 1.29 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3089, allocations: 0 / 1.29 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003283/0.3092, allocations: 185.3 kB / 1.29 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/0.3093, allocations: 137 kB / 1.29 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005942/0.3099, allocations: 0.5171 MB / 1.29 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3099, allocations: 25.7 kB / 1.29 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.31, allocations: 164.1 kB / 1.291 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.31, allocations: 11.84 kB / 1.291 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.3101, allocations: 25.7 kB / 1.291 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3103, allocations: 338.8 kB / 1.291 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.656e-05/0.3103, allocations: 35.95 kB / 1.291 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.3104, allocations: 59.41 kB / 1.291 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3105, allocations: 103.3 kB / 1.291 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3105, allocations: 0 / 1.291 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002164/0.3107, allocations: 153.3 kB / 1.291 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3108, allocations: 4 kB / 1.291 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3108, allocations: 0 / 1.291 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3108, allocations: 4 kB / 1.291 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3109, allocations: 15.92 kB / 1.291 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3109, allocations: 0 / 1.291 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.311, allocations: 7.984 kB / 1.291 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.311, allocations: 7.984 kB / 1.291 GB, free: 12.1 MB / 0.9981 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.0001584/0.3112, allocations: 177.8 kB / 1.292 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.3112, allocations: 43.7 kB / 1.292 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.3116, allocations: 183.7 kB / 1.292 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3116, allocations: 4 kB / 1.292 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3116, allocations: 0 / 1.292 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3116, allocations: 0 / 1.292 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.3118, allocations: 284.5 kB / 1.292 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.3119, allocations: 7.938 kB / 1.292 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.198e-05/0.3119, allocations: 16.12 kB / 1.292 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3119, allocations: 96 / 1.292 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.312, allocations: 11.92 kB / 1.292 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.312, allocations: 0 / 1.292 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.312, allocations: 7.922 kB / 1.292 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.3122, allocations: 191.4 kB / 1.292 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.3123, allocations: 71.62 kB / 1.292 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.3124, allocations: 0 / 1.292 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.3125, allocations: 15.97 kB / 1.292 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.3125, allocations: 4 kB / 1.292 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.3126, allocations: 4 kB / 1.292 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004492/0.313, allocations: 395 kB / 1.293 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.313, allocations: 0 / 1.293 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002445/0.3132, allocations: 43.88 kB / 1.293 GB, free: 10.59 MB / 0.9981 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.0005256/0.3138, allocations: 0.7318 MB / 1.293 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.314, allocations: 91.86 kB / 1.294 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.314, allocations: 0 / 1.294 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.77e-05/0.314, allocations: 47.91 kB / 1.294 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.3144, allocations: 70.2 kB / 1.294 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.3181, allocations: 3.168 MB / 1.297 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.3185, allocations: 0.8182 MB / 1.298 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001249/0.3186, allocations: 58.25 kB / 1.298 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.3188, allocations: 79.41 kB / 1.298 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.3188, allocations: 0 / 1.298 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.027/0.3458, allocations: 6.822 MB / 1.304 GB, free: 14.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.52, allocations: 4.062 kB / 1.304 GB, free: 14.72 MB / 1.014 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.76223306398606]