Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_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.001225/0.001225, allocations: 108 kB / 15.6 MB, free: 132 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.001224/0.001225, allocations: 194 kB / 16.53 MB, free: 6.391 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.204/1.204, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.118/2.118, allocations: 390.3 MB / 0.6647 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.91 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4974/0.4987, allocations: 140.4 MB / 0.9497 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002101/0.5009, allocations: 1.576 MB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009393/0.5018, allocations: 0.9075 MB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.5019, allocations: 5.469 kB / 0.9521 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.5021, allocations: 69.14 kB / 0.9522 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.5025, allocations: 155.3 kB / 0.9524 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.639e-05/0.5025, allocations: 9.203 kB / 0.9524 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.5028, allocations: 375.9 kB / 0.9527 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.943e-05/0.5029, allocations: 50.27 kB / 0.9528 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.503, allocations: 135.3 kB / 0.9529 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.5032, allocations: 137.6 kB / 0.953 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.5032, allocations: 14.44 kB / 0.953 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.18e-05/0.5033, allocations: 16.16 kB / 0.9531 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.5033, allocations: 52.69 kB / 0.9531 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.5034, allocations: 129.4 kB / 0.9532 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.5036, allocations: 283.8 kB / 0.9535 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5036, allocations: 5.438 kB / 0.9535 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5037, allocations: 0 / 0.9535 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.5037, allocations: 0 / 0.9535 GB, free: 6.246 MB / 0.7169 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.0008053/0.5045, allocations: 0.6283 MB / 0.9541 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.5045, allocations: 10.44 kB / 0.9541 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.691e-05/0.5045, allocations: 34.75 kB / 0.9542 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.5046, allocations: 31.22 kB / 0.9542 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.5049, allocations: 385.4 kB / 0.9546 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-06/0.505, allocations: 5.797 kB / 0.9546 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.505, allocations: 2 kB / 0.9546 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.5051, allocations: 101.2 kB / 0.9547 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.5051, allocations: 1.125 kB / 0.9547 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.5051, allocations: 4 kB / 0.9547 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.5051, allocations: 1.125 kB / 0.9547 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.036e-05/0.5052, allocations: 68.14 kB / 0.9547 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.5055, allocations: 352.6 kB / 0.9551 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.374e-05/0.5055, allocations: 101.7 kB / 0.9552 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/0.5056, allocations: 63.95 kB / 0.9552 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.5056, allocations: 8.969 kB / 0.9552 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.5056, allocations: 40.56 kB / 0.9553 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.5056, allocations: 0 / 0.9553 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000273/0.5059, allocations: 189.3 kB / 0.9555 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.506, allocations: 129.7 kB / 0.9556 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000455/0.5064, allocations: 0.5096 MB / 0.9561 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.5064, allocations: 25.7 kB / 0.9561 GB, free: 4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.5065, allocations: 164.6 kB / 0.9563 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.5065, allocations: 21.23 kB / 0.9563 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.5066, allocations: 20 kB / 0.9563 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.896e-05/0.5066, allocations: 343.7 kB / 0.9566 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.5067, allocations: 33.25 kB / 0.9567 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.747e-05/0.5067, allocations: 61.77 kB / 0.9567 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.5068, allocations: 109.1 kB / 0.9568 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5068, allocations: 0 / 0.9568 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001676/0.507, allocations: 150.6 kB / 0.957 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.507, allocations: 6.438 kB / 0.957 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.507, allocations: 1.469 kB / 0.957 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.5071, allocations: 5.562 kB / 0.957 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.925e-05/0.5072, allocations: 16.33 kB / 0.957 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.5072, allocations: 0 / 0.957 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.5073, allocations: 10.42 kB / 0.957 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.5073, allocations: 1.719 kB / 0.957 GB, free: 3.215 MB / 0.7169 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.0001025/0.5074, allocations: 180.2 kB / 0.9572 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.5075, allocations: 33.91 kB / 0.9572 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.5077, allocations: 187.5 kB / 0.9574 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.5077, allocations: 6.734 kB / 0.9574 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5078, allocations: 1.375 kB / 0.9574 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5078, allocations: 1.375 kB / 0.9574 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.508, allocations: 313.8 kB / 0.9577 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.508, allocations: 1.375 kB / 0.9577 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/0.5081, allocations: 22.86 kB / 0.9577 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.5081, allocations: 2.75 kB / 0.9577 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.5081, allocations: 5.5 kB / 0.9577 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5081, allocations: 1.375 kB / 0.9577 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5081, allocations: 5.312 kB / 0.9577 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.5083, allocations: 186.5 kB / 0.9579 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.5084, allocations: 140 kB / 0.9581 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.5085, allocations: 9.281 kB / 0.9581 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.5086, allocations: 10.86 kB / 0.9581 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.5087, allocations: 6.734 kB / 0.9581 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.5087, allocations: 2.75 kB / 0.9581 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003664/0.509, allocations: 398 kB / 0.9585 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.509, allocations: 1.094 kB / 0.9585 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002387/0.5093, allocations: 36.47 kB / 0.9585 GB, free: 2.07 MB / 0.7169 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.0003112/0.5096, allocations: 0.7293 MB / 0.9592 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.5098, allocations: 83.83 kB / 0.9593 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5098, allocations: 5.312 kB / 0.9593 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.721e-05/0.5098, allocations: 45.66 kB / 0.9593 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.5102, allocations: 66.23 kB / 0.9594 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/0.5133, allocations: 3.205 MB / 0.9625 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.5136, allocations: 0.8147 MB / 0.9633 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001348/0.5137, allocations: 53.03 kB / 0.9634 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.5138, allocations: 80.22 kB / 0.9635 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.5139, allocations: 1.156 kB / 0.9635 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.5349, allocations: 6.586 MB / 0.9699 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.542/7.077, allocations: 19.28 kB / 0.9699 GB, free: 11.03 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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