Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_10_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.001261/0.001261, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001285, allocations: 197.5 kB / 16.53 MB, free: 6.664 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.23/1.23, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.376/2.376, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.89 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5074/0.5085, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002492/0.5111, allocations: 1.572 MB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.5122, allocations: 0.9228 MB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.5123, allocations: 0 / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.5125, allocations: 71.64 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.5129, allocations: 155.3 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.539e-05/0.513, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003555/0.5133, allocations: 374.3 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.974e-05/0.5134, allocations: 48.73 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.5136, allocations: 135.4 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.5138, allocations: 139.3 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.5138, allocations: 16 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.247e-05/0.5138, allocations: 16 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.5139, allocations: 47.77 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.514, allocations: 131.2 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.5143, allocations: 293.2 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5143, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5143, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.5143, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 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.0009251/0.5152, allocations: 0.6107 MB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.5153, allocations: 12.03 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.5153, allocations: 34.75 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.5154, allocations: 40.56 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.5158, allocations: 390.2 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.5158, allocations: 4.375 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.5158, allocations: 4.312 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.516, allocations: 97.14 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.516, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.516, allocations: 11.98 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.516, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.6e-05/0.5161, allocations: 67.86 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.5165, allocations: 348.1 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.5166, allocations: 106.4 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.045e-05/0.5167, allocations: 67.39 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.5167, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.5167, allocations: 38.5 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.5167, allocations: 4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002907/0.517, allocations: 189.1 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.5171, allocations: 128.5 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.5176, allocations: 0.5093 MB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.5176, allocations: 25.7 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.5177, allocations: 168.1 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.5178, allocations: 20.23 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.5178, allocations: 21.72 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5179, allocations: 342.8 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.518, allocations: 39.91 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.828e-05/0.5181, allocations: 55.39 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.5182, allocations: 107.3 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5182, allocations: 4 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001863/0.5184, allocations: 145.1 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.5184, allocations: 5.875 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.5184, allocations: 4 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.5184, allocations: 0 / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.853e-05/0.5185, allocations: 12.11 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.5186, allocations: 4 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.5187, allocations: 11.98 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.5187, allocations: 0 / 1.025 GB, free: 10.68 MB / 0.7794 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.0001292/0.5188, allocations: 187.2 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.5189, allocations: 39.47 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.5192, allocations: 183.7 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5192, allocations: 4 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5192, allocations: 0 / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5192, allocations: 4 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.5195, allocations: 309.3 kB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5195, allocations: 0 / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.411e-05/0.5196, allocations: 19.92 kB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.5196, allocations: 0 / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.5196, allocations: 7.938 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5196, allocations: 128 / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.5196, allocations: 8 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.5198, allocations: 191.2 kB / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.52, allocations: 140.5 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.52, allocations: 8 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.5202, allocations: 15.97 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.5202, allocations: 4.094 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.5202, allocations: 4 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003893/0.5206, allocations: 399 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5206, allocations: 0 / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002373/0.5208, allocations: 36 kB / 1.026 GB, free: 9.047 MB / 0.7794 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.000431/0.5213, allocations: 0.7316 MB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.5214, allocations: 87.86 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5215, allocations: 4 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.971e-05/0.5215, allocations: 48.16 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.5219, allocations: 62.17 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.5251, allocations: 3.193 MB / 1.03 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.5255, allocations: 0.8181 MB / 1.031 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.5256, allocations: 50.27 kB / 1.031 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.5257, allocations: 83.39 kB / 1.031 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.5257, allocations: 0 / 1.031 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.5475, allocations: 6.598 MB / 1.038 GB, free: 13.36 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/7.235, allocations: 8.141 kB / 1.038 GB, free: 13.36 MB / 0.795 GB (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_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_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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