Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CorrectedConvection,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_10_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.001035/0.001035, 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.0009938/0.0009939, allocations: 197 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.219/1.219, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.35/2.35, allocations: 437.1 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.88 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5236/0.5249, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002488/0.5274, allocations: 1.583 MB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.5286, allocations: 0.915 MB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.5286, allocations: 3.938 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.5289, allocations: 71.64 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004122/0.5293, allocations: 151.3 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.999e-05/0.5293, allocations: 3.984 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.5297, allocations: 378.1 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.782e-05/0.5298, allocations: 56.72 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.53, allocations: 135.4 kB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.5301, allocations: 135.3 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.5302, allocations: 16 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.332e-05/0.5302, allocations: 16 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.266e-05/0.5303, allocations: 51.75 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.5304, allocations: 131.2 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.5307, allocations: 285.3 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5307, allocations: 8 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5307, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.5307, allocations: 0 / 1.021 GB, free: 14.75 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.0009127/0.5316, allocations: 0.6146 MB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.5317, allocations: 12.03 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.5317, allocations: 38.75 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.5317, allocations: 32.56 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.5321, allocations: 386.2 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.5322, allocations: 8.359 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.5322, allocations: 4.312 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.5323, allocations: 93.2 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.5323, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.5323, allocations: 8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.5324, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.763e-05/0.5324, allocations: 67.86 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.5328, allocations: 348.1 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.5329, allocations: 110.3 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/0.533, allocations: 63.45 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.533, allocations: 0 / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.5331, allocations: 42.5 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.5331, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003013/0.5334, allocations: 189.1 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.5334, allocations: 128.5 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/0.534, allocations: 0.5093 MB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.534, allocations: 25.7 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.5342, allocations: 164.6 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.5342, allocations: 19.73 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.5342, allocations: 21.72 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5344, allocations: 346.7 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.881e-05/0.5344, allocations: 35.91 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.646e-05/0.5345, allocations: 59.39 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.5346, allocations: 107.3 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5346, allocations: 4 kB / 1.025 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001942/0.5348, allocations: 149.1 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.5348, allocations: 4 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.5349, allocations: 4 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.5349, allocations: 128 / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.68e-05/0.535, allocations: 15.98 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.535, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.5351, allocations: 11.98 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.5351, allocations: 0 / 1.025 GB, free: 10.84 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.0001497/0.5353, allocations: 181.7 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.5353, allocations: 43.41 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.5356, allocations: 183.8 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.5356, allocations: 7.984 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.5357, allocations: 0 / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5357, allocations: 0 / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.5359, allocations: 317.3 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5359, allocations: 0 / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.288e-05/0.536, allocations: 19.92 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.536, allocations: 0 / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.536, allocations: 4 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5361, allocations: 8.109 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5361, allocations: 0 / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.5363, allocations: 187.2 kB / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.5364, allocations: 140.5 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.5364, allocations: 8 kB / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.5366, allocations: 11.98 kB / 1.026 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.5366, allocations: 7.984 kB / 1.026 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.5366, allocations: 4 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000397/0.537, allocations: 399 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.537, allocations: 0 / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002326/0.5373, allocations: 36 kB / 1.026 GB, free: 9.207 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.000427/0.5377, allocations: 0.7278 MB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001562/0.5379, allocations: 87.86 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5379, allocations: 256 / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.026e-05/0.5379, allocations: 51.91 kB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.5383, allocations: 62.59 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.5415, allocations: 3.193 MB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.5418, allocations: 0.8143 MB / 1.031 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.5419, allocations: 58.19 kB / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.542, allocations: 79.41 kB / 1.031 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.542, allocations: 0 / 1.031 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.5635, allocations: 6.59 MB / 1.038 GB, free: 13.53 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.651/7.215, allocations: 3.953 kB / 1.038 GB, free: 13.53 MB / 0.795 GB (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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