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.004799/0.004799, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001082/0.001083, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.067/2.067, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 71.88 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7862/0.7876, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002408/0.79, allocations: 1.589 MB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.7913, allocations: 0.9163 MB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.098e-05/0.7914, allocations: 2.656 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.7917, allocations: 64.25 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004431/0.7921, allocations: 149.8 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.355e-05/0.7922, allocations: 12.59 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.7926, allocations: 371.2 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.683e-05/0.7927, allocations: 42.33 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.7929, allocations: 146.3 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.7931, allocations: 137.1 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.7932, allocations: 14.81 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.228e-05/0.7932, allocations: 15.53 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.662e-05/0.7933, allocations: 47.33 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.7934, allocations: 135 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.7938, allocations: 289.8 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7938, allocations: 0 / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7938, allocations: 4.562 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.7938, allocations: 0 / 1.091 GB, free: 2.852 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.001023/0.7948, allocations: 0.6275 MB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.7949, allocations: 10.5 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.7949, allocations: 35.5 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.795, allocations: 35.94 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/0.7955, allocations: 398.3 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/0.7955, allocations: 1.25 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.7955, allocations: 6.406 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.7957, allocations: 99.89 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.7957, allocations: 8.5 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.7957, allocations: 0.6562 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.7957, allocations: 1.469 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.7958, allocations: 70.72 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.7962, allocations: 345.2 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.7963, allocations: 109.8 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.034e-05/0.7964, allocations: 64.11 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.7964, allocations: 0.7969 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.7965, allocations: 44.72 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.7965, allocations: 0 / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003468/0.7968, allocations: 182.5 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.7969, allocations: 130.8 kB / 1.093 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006714/0.7975, allocations: 0.5157 MB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.7975, allocations: 26.98 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.358e-05/0.7976, allocations: 168.1 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.7977, allocations: 19.14 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.7977, allocations: 25.78 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.701e-05/0.7978, allocations: 341.7 kB / 1.094 GB, free: 408 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.34e-05/0.7979, allocations: 34.06 kB / 1.094 GB, free: 400 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/0.798, allocations: 61.56 kB / 1.094 GB, free: 356 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.7981, allocations: 108.4 kB / 1.095 GB, free: 296 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7981, allocations: 0.7188 kB / 1.095 GB, free: 296 kB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002205/0.7983, allocations: 150.8 kB / 1.095 GB, free: 220 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.7984, allocations: 5.531 kB / 1.095 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.7984, allocations: 1.188 kB / 1.095 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.7984, allocations: 5 kB / 1.095 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.7985, allocations: 11.72 kB / 1.095 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.7985, allocations: 0.9688 kB / 1.095 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.7987, allocations: 11.05 kB / 1.095 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.7987, allocations: 3.203 kB / 1.095 GB, free: 216 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.0001433/0.7988, allocations: 178.4 kB / 1.095 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.7989, allocations: 38.89 kB / 1.095 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.7993, allocations: 181.2 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.7993, allocations: 2.281 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.7993, allocations: 5.031 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.7993, allocations: 6.609 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.7997, allocations: 313 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7997, allocations: 1.094 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.249e-05/0.7998, allocations: 18.16 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7998, allocations: 0.7188 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.7998, allocations: 6.719 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.7998, allocations: 6.016 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7998, allocations: 5.531 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.8001, allocations: 189.9 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.8003, allocations: 136.6 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.8003, allocations: 10.56 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.8005, allocations: 13.83 kB / 1.096 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.8005, allocations: 5.188 kB / 1.096 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.8005, allocations: 3.828 kB / 1.096 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005232/0.801, allocations: 392.7 kB / 1.096 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8011, allocations: 3.938 kB / 1.096 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002696/0.8013, allocations: 41.56 kB / 1.096 GB, free: 15.27 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.0005367/0.8019, allocations: 0.7291 MB / 1.097 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.8021, allocations: 88.11 kB / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8021, allocations: 256 / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.163e-05/0.8022, allocations: 50.98 kB / 1.097 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.8026, allocations: 67.14 kB / 1.097 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.8068, allocations: 3.182 MB / 1.1 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.8072, allocations: 0.8132 MB / 1.101 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001718/0.8074, allocations: 51.66 kB / 1.101 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.8075, allocations: 85.69 kB / 1.101 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of SimCode: time 6.71e-07/0.8075, allocations: 0 / 1.101 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.8345, allocations: 6.644 MB / 1.108 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.53, allocations: 10.05 kB / 1.108 GB, free: 11.29 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