Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.UndisturbedSoilTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",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.005083/0.005083, allocations: 96.88 kB / 15.73 MB, free: 6.055 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.001509/0.001509, allocations: 192.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.164 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 2.849/2.849, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.83 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2707, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002668/0.2734, allocations: 1.579 MB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.2748, allocations: 0.9112 MB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.2749, allocations: 0 / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.2751, allocations: 67.64 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004043/0.2755, allocations: 147.2 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.571e-05/0.2756, allocations: 11.92 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.276, allocations: 377.6 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.579e-05/0.2761, allocations: 52.7 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.2763, allocations: 135.3 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.2765, allocations: 139.4 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.2766, allocations: 16 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.15e-05/0.2766, allocations: 16 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.162e-05/0.2767, allocations: 47.72 kB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.2769, allocations: 131.2 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.2772, allocations: 286.7 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2772, allocations: 4 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2772, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2772, allocations: 0 / 1.224 GB, free: 10.41 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.001069/0.2783, allocations: 0.6302 MB / 1.225 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2784, allocations: 15.97 kB / 1.225 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.512e-05/0.2784, allocations: 38.69 kB / 1.225 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.2785, allocations: 32.7 kB / 1.225 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005301/0.279, allocations: 394.5 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.279, allocations: 4.375 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.279, allocations: 384 / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.2792, allocations: 101.2 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2792, allocations: 3.938 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.2792, allocations: 4 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2792, allocations: 0 / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.2793, allocations: 63.92 kB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.2798, allocations: 356.1 kB / 1.226 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.2799, allocations: 114.4 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.654e-05/0.28, allocations: 59.47 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.28, allocations: 3.984 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.2801, allocations: 54.42 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2801, allocations: 0 / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003436/0.2804, allocations: 177.3 kB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.2805, allocations: 132.5 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006617/0.2812, allocations: 0.5098 MB / 1.227 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.2812, allocations: 33.7 kB / 1.227 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.2814, allocations: 164.1 kB / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.2814, allocations: 19.84 kB / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.2814, allocations: 17.7 kB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2816, allocations: 342.8 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-05/0.2817, allocations: 31.97 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.585e-05/0.2818, allocations: 59.38 kB / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.2819, allocations: 115.2 kB / 1.227 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2819, allocations: 0 / 1.227 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002273/0.2822, allocations: 149.2 kB / 1.227 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.2822, allocations: 8.125 kB / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.2822, allocations: 4 kB / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.2822, allocations: 0 / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.2823, allocations: 19.92 kB / 1.227 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2823, allocations: 3.938 kB / 1.227 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.2825, allocations: 11.98 kB / 1.227 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2825, allocations: 0 / 1.227 GB, free: 6.457 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.0001666/0.2827, allocations: 178.3 kB / 1.228 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.2827, allocations: 35.75 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.2831, allocations: 187.7 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2831, allocations: 4 kB / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2831, allocations: 0 / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2831, allocations: 4 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.2834, allocations: 309.4 kB / 1.228 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2834, allocations: 0 / 1.228 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.482e-05/0.2835, allocations: 15.94 kB / 1.228 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2836, allocations: 128 / 1.228 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2836, allocations: 8 kB / 1.228 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2836, allocations: 0 / 1.228 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.2836, allocations: 11.92 kB / 1.228 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.2839, allocations: 187.4 kB / 1.228 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.284, allocations: 144.8 kB / 1.228 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.2841, allocations: 7.984 kB / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.2842, allocations: 7.984 kB / 1.229 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.2843, allocations: 8 kB / 1.229 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.2843, allocations: 4 kB / 1.229 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004952/0.2848, allocations: 399 kB / 1.229 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2848, allocations: 0 / 1.229 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002671/0.2851, allocations: 40 kB / 1.229 GB, free: 4.828 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.0005604/0.2856, allocations: 0.724 MB / 1.23 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.2858, allocations: 84.05 kB / 1.23 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.2858, allocations: 4.062 kB / 1.23 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.465e-05/0.2859, allocations: 51.91 kB / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.2863, allocations: 65.48 kB / 1.23 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.2902, allocations: 3.19 MB / 1.233 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.2907, allocations: 0.8182 MB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.2909, allocations: 54.34 kB / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.291, allocations: 87.34 kB / 1.234 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.291, allocations: 3.938 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.3191, allocations: 6.645 MB / 1.24 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.496, allocations: 11.56 kB / 1.24 GB, free: 9.121 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_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_UndisturbedSoilTemperature.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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