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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008975/0.008975, allocations: 99.34 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 195.2 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.643/2.643, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.587/3.587, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 64.03 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3008, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002906/0.3037, allocations: 1.587 MB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3052, allocations: 0.9151 MB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.633e-05/0.3053, allocations: 4 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.3055, allocations: 59.66 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000454/0.306, allocations: 151.3 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.79e-05/0.3061, allocations: 11.92 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004471/0.3065, allocations: 370.3 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.046e-05/0.3066, allocations: 44.73 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.3069, allocations: 151.3 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.3071, allocations: 127.4 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.3072, allocations: 16 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.308e-05/0.3072, allocations: 16 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.156e-05/0.3073, allocations: 51.7 kB / 1.224 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.3075, allocations: 135.2 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.3078, allocations: 274.8 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3078, allocations: 3.984 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3079, allocations: 4 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.3079, allocations: 0 / 1.224 GB, free: 10.44 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.001193/0.3091, allocations: 0.6398 MB / 1.225 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3091, allocations: 15.97 kB / 1.225 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.3092, allocations: 34.75 kB / 1.225 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.92e-05/0.3092, allocations: 32.7 kB / 1.225 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.3098, allocations: 402.5 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.3098, allocations: 384 / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3098, allocations: 384 / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.31, allocations: 101.2 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.31, allocations: 0 / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.31, allocations: 0 / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.31, allocations: 0 / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.3101, allocations: 75.86 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.3105, allocations: 356.1 kB / 1.226 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.3107, allocations: 118.3 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.602e-05/0.3108, allocations: 63.45 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.3108, allocations: 0 / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.3108, allocations: 38.5 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 2.755e-06/0.3108, allocations: 0 / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003553/0.3112, allocations: 185.3 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.3113, allocations: 136.5 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/0.3119, allocations: 0.5132 MB / 1.227 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3119, allocations: 25.7 kB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3121, allocations: 164.1 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.3121, allocations: 16.34 kB / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.3122, allocations: 25.7 kB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3123, allocations: 342.8 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.125e-05/0.3124, allocations: 39.95 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.3125, allocations: 59.39 kB / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.3126, allocations: 107.3 kB / 1.227 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3126, allocations: 0 / 1.227 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002121/0.3128, allocations: 145.3 kB / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3129, allocations: 11.98 kB / 1.227 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3129, allocations: 0 / 1.227 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3129, allocations: 0 / 1.227 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.313, allocations: 11.94 kB / 1.227 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.313, allocations: 16.03 kB / 1.227 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.3132, allocations: 11.98 kB / 1.227 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.3132, allocations: 4 kB / 1.227 GB, free: 6.473 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.0001591/0.3134, allocations: 174.3 kB / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.3134, allocations: 35.75 kB / 1.228 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/0.3137, allocations: 183.7 kB / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3138, allocations: 4.125 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.3138, allocations: 4 kB / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3138, allocations: 0 / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.3141, allocations: 317.3 kB / 1.228 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3141, allocations: 0 / 1.228 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.78e-05/0.3142, allocations: 19.92 kB / 1.228 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3142, allocations: 4 kB / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3142, allocations: 0 / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3142, allocations: 4 kB / 1.228 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3142, allocations: 0 / 1.228 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.3145, allocations: 191.4 kB / 1.228 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.3146, allocations: 140.8 kB / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.3147, allocations: 4 kB / 1.229 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3148, allocations: 7.984 kB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.3148, allocations: 15.92 kB / 1.229 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.3149, allocations: 4 kB / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004681/0.3153, allocations: 395 kB / 1.229 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3153, allocations: 0 / 1.229 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002482/0.3156, allocations: 36 kB / 1.229 GB, free: 4.855 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.0005372/0.3161, allocations: 0.7318 MB / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3163, allocations: 83.86 kB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3163, allocations: 4 kB / 1.23 GB, free: 4 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.28e-05/0.3164, allocations: 47.89 kB / 1.23 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.3168, allocations: 71.55 kB / 1.23 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.3207, allocations: 3.196 MB / 1.233 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.3212, allocations: 0.8143 MB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.3214, allocations: 50.2 kB / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.3215, allocations: 79.41 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/0.3216, allocations: 3.938 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.3519, allocations: 6.651 MB / 1.24 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.65, allocations: 11.8 kB / 1.24 GB, free: 9.145 MB / 0.9981 GB (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 50 --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) 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) "Warning: Resultfile and Reference have different end time points! Reffile[501]=31536000.000000 File[7]=75686.400000 " Variables in the reference:time,TSoi[1].T,TSoi[2].T,TSoi[3].T,TSoi[4].T Variables in the result:time,TSoi[1].T,TSoi[2].T,TSoi[3].T,TSoi[4].T,TSoi[1].cliCon.TSurAmp