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.002583/0.002583, allocations: 108.6 kB / 15.73 MB, free: 76 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.002829/0.002828, allocations: 187.5 kB / 16.66 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.022/3.022, allocations: 222.9 MB / 240.4 MB, free: 4.344 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 4.973/4.973, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003156/0.003156, allocations: 63.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5258/0.529, allocations: 151.6 MB / 1.166 GB, free: 7.367 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.00355/0.5326, allocations: 1.587 MB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.5344, allocations: 0.9229 MB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.512e-05/0.5345, allocations: 0 / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.5348, allocations: 63.64 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005214/0.5353, allocations: 151.3 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.288e-05/0.5354, allocations: 15.92 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005093/0.5359, allocations: 362.4 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.536, allocations: 56.67 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.5362, allocations: 131.4 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.5365, allocations: 139.3 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.5365, allocations: 19.94 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-05/0.5366, allocations: 12 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.477e-05/0.5367, allocations: 47.83 kB / 1.17 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.5369, allocations: 135.2 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.5373, allocations: 295 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.5373, allocations: 0 / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5373, allocations: 0 / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.5374, allocations: 3.984 kB / 1.17 GB, free: 3.426 MB / 0.92 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.001394/0.5388, allocations: 0.638 MB / 1.171 GB, free: 2.738 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.5388, allocations: 8.031 kB / 1.171 GB, free: 2.73 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.534e-05/0.5389, allocations: 30.75 kB / 1.171 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.42e-05/0.5389, allocations: 32.75 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007591/0.5397, allocations: 390.6 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.5397, allocations: 384 / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.5398, allocations: 4.375 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.54, allocations: 109.1 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.54, allocations: 0 / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.54, allocations: 0 / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.54, allocations: 0 / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.5402, allocations: 67.88 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005246/0.5407, allocations: 356.1 kB / 1.172 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.5409, allocations: 106.4 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.541, allocations: 63.45 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.541, allocations: 8 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.5411, allocations: 38.44 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.5411, allocations: 3.938 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004283/0.5415, allocations: 185.3 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.5416, allocations: 133 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007642/0.5424, allocations: 0.5171 MB / 1.173 GB, free: 500 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.5425, allocations: 25.7 kB / 1.173 GB, free: 468 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.5426, allocations: 168 kB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.5427, allocations: 11.89 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/0.5428, allocations: 25.7 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002338/0.543, allocations: 338.8 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.5431, allocations: 35.95 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.877e-05/0.5432, allocations: 63.39 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.5434, allocations: 103.3 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5434, allocations: 3.938 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002474/0.5436, allocations: 153.2 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.5437, allocations: 4 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5437, allocations: 3.984 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.5437, allocations: 4 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.5438, allocations: 8 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.5439, allocations: 3.984 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.544, allocations: 11.94 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.544, allocations: 4 kB / 1.173 GB, free: 15.48 MB / 0.9356 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.0002076/0.5442, allocations: 181.9 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.5443, allocations: 35.75 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.5447, allocations: 183.6 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.5447, allocations: 4 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5447, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.5447, allocations: 4 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.5451, allocations: 309.5 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5451, allocations: 128 / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.5453, allocations: 27.86 kB / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.5453, allocations: 0 / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.5453, allocations: 4 kB / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.5453, allocations: 0 / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5453, allocations: 0 / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.5456, allocations: 191.4 kB / 1.174 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.5458, allocations: 144.8 kB / 1.174 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.5459, allocations: 7.875 kB / 1.174 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.546, allocations: 11.98 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.5461, allocations: 11.92 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.5461, allocations: 4 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005661/0.5467, allocations: 391 kB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5467, allocations: 0 / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002734/0.5469, allocations: 44 kB / 1.175 GB, free: 13.86 MB / 0.9356 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.0007315/0.5477, allocations: 0.7318 MB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.5479, allocations: 87.86 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.548, allocations: 0 / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.543e-05/0.548, allocations: 51.89 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.5485, allocations: 74.05 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004708/0.5532, allocations: 3.171 MB / 1.179 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/0.5539, allocations: 0.8143 MB / 1.18 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.5541, allocations: 50.27 kB / 1.18 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.5543, allocations: 79.41 kB / 1.18 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.5543, allocations: 0 / 1.18 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04681/0.6011, allocations: 6.662 MB / 1.186 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/18.21, allocations: 17.41 kB / 1.186 GB, free: 2.152 MB / 0.9356 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