Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.CorrectedConvection,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_9_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.007364/0.007364, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001532/0.001532, allocations: 196.1 kB / 16.68 MB, free: 5.926 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.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.05/2.05, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6817/0.6829, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002299/0.6853, allocations: 1.6 MB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.6864, allocations: 0.9084 MB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.161e-05/0.6865, allocations: 7.25 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.6868, allocations: 59.88 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004133/0.6872, allocations: 158.5 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.196e-05/0.6872, allocations: 7.312 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.6876, allocations: 366.5 kB / 1.09 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.389e-05/0.6877, allocations: 46.78 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.6879, allocations: 142.7 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.6881, allocations: 141.4 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.6882, allocations: 15.19 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.393e-05/0.6882, allocations: 15.59 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.668e-05/0.6883, allocations: 46.88 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.6884, allocations: 134.4 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.6887, allocations: 289.5 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6888, allocations: 0 / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6888, allocations: 0.6875 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.6888, allocations: 0 / 1.091 GB, free: 2.879 MB / 0.8575 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.0009738/0.6898, allocations: 0.6234 MB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.6898, allocations: 10.06 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.513e-05/0.6898, allocations: 36.48 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.6899, allocations: 30.59 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.6903, allocations: 386.6 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.6904, allocations: 9.156 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.6904, allocations: 1.969 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.6905, allocations: 103.7 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.6905, allocations: 1.359 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.6905, allocations: 0.75 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.6905, allocations: 1.062 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.6907, allocations: 75.25 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.691, allocations: 353 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.6911, allocations: 101.8 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.6912, allocations: 67.34 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.6912, allocations: 5.203 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.6913, allocations: 41.3 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.6913, allocations: 0 / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003217/0.6916, allocations: 186.3 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.6916, allocations: 134.4 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006074/0.6922, allocations: 0.5112 MB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.6923, allocations: 25.7 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/0.6923, allocations: 169.5 kB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.6924, allocations: 10.12 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.6924, allocations: 27.02 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.232e-05/0.6925, allocations: 345.5 kB / 1.094 GB, free: 448 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.205e-05/0.6926, allocations: 35.08 kB / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.175e-05/0.6926, allocations: 56.94 kB / 1.094 GB, free: 400 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.6928, allocations: 108.7 kB / 1.095 GB, free: 340 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6928, allocations: 0 / 1.095 GB, free: 340 kB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002033/0.693, allocations: 150.3 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.693, allocations: 5.719 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.693, allocations: 1.609 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.693, allocations: 0.9062 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.6931, allocations: 11.59 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.6932, allocations: 1.625 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.6933, allocations: 13.83 kB / 1.095 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.6933, allocations: 8.312 kB / 1.095 GB, free: 256 kB / 0.8575 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.0001287/0.6935, allocations: 173.3 kB / 1.095 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.6935, allocations: 34.94 kB / 1.095 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.6938, allocations: 189.5 kB / 1.095 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6938, allocations: 2.188 kB / 1.095 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.6938, allocations: 5.594 kB / 1.095 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6939, allocations: 1.609 kB / 1.095 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.6942, allocations: 308.9 kB / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.6942, allocations: 1.062 kB / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.855e-05/0.6943, allocations: 22.84 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6943, allocations: 1.656 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.6943, allocations: 1.734 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.6944, allocations: 6.203 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6944, allocations: 1.594 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.6946, allocations: 193.9 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.6948, allocations: 139.8 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.6948, allocations: 6.953 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.695, allocations: 9.531 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.695, allocations: 6.422 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.695, allocations: 6.156 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004947/0.6955, allocations: 397.3 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6955, allocations: 3.938 kB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002632/0.6958, allocations: 38.22 kB / 1.096 GB, free: 15.31 MB / 0.8731 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.0004587/0.6963, allocations: 0.7286 MB / 1.097 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.6965, allocations: 83.08 kB / 1.097 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6965, allocations: 0.6562 kB / 1.097 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.974e-05/0.6966, allocations: 47.42 kB / 1.097 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.6969, allocations: 68.3 kB / 1.097 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/0.7007, allocations: 3.18 MB / 1.1 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.7011, allocations: 0.816 MB / 1.101 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.7012, allocations: 52.34 kB / 1.101 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.7014, allocations: 77.78 kB / 1.101 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of SimCode: time 5.41e-07/0.7014, allocations: 0 / 1.101 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.7265, allocations: 6.648 MB / 1.108 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/8.079, allocations: 7.172 kB / 1.108 GB, free: 11.34 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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