Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_latest_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.007785/0.007785, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.002181/0.002181, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.421/1.421, 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 12.0.0-master/package.mo): time 2.772/2.772, allocations: 482.4 MB / 0.7548 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 63.78 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3091, allocations: 162.2 MB / 1.241 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002645/0.3118, allocations: 1.584 MB / 1.243 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.3132, allocations: 0.9127 MB / 1.244 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.3133, allocations: 4 kB / 1.244 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.3136, allocations: 67.58 kB / 1.244 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000425/0.314, allocations: 139.3 kB / 1.244 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.741e-05/0.3141, allocations: 15.91 kB / 1.244 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.3145, allocations: 370.2 kB / 1.244 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.676e-05/0.3146, allocations: 44.75 kB / 1.244 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.3148, allocations: 139.3 kB / 1.245 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.3151, allocations: 139.4 kB / 1.245 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.3151, allocations: 16 kB / 1.245 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-05/0.3152, allocations: 12 kB / 1.245 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.44e-05/0.3152, allocations: 59.69 kB / 1.245 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.3154, allocations: 123.2 kB / 1.245 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.3157, allocations: 287 kB / 1.245 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3158, allocations: 3.984 kB / 1.245 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3158, allocations: 0 / 1.245 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.3158, allocations: 0 / 1.245 GB, free: 5.422 MB / 0.9669 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.001099/0.3169, allocations: 0.6418 MB / 1.246 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3169, allocations: 8.031 kB / 1.246 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.317, allocations: 30.75 kB / 1.246 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.317, allocations: 36.69 kB / 1.246 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.3176, allocations: 398.5 kB / 1.246 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.3176, allocations: 384 / 1.246 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.3176, allocations: 4.375 kB / 1.246 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3178, allocations: 105.2 kB / 1.246 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.3178, allocations: 0 / 1.246 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.3178, allocations: 0 / 1.246 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3178, allocations: 4 kB / 1.246 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.3179, allocations: 71.86 kB / 1.246 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.3183, allocations: 348.1 kB / 1.247 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.3185, allocations: 114.3 kB / 1.247 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.452e-05/0.3186, allocations: 63.45 kB / 1.247 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.3186, allocations: 0 / 1.247 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3187, allocations: 42.44 kB / 1.247 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3187, allocations: 0 / 1.247 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003489/0.319, allocations: 181.3 kB / 1.247 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.171e-05/0.3191, allocations: 136.5 kB / 1.247 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006551/0.3198, allocations: 0.5132 MB / 1.248 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3198, allocations: 29.7 kB / 1.248 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3199, allocations: 164 kB / 1.248 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.32, allocations: 11.91 kB / 1.248 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.32, allocations: 22.2 kB / 1.248 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3202, allocations: 346.8 kB / 1.248 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.266e-05/0.3203, allocations: 39.89 kB / 1.248 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.426e-05/0.3204, allocations: 59.39 kB / 1.248 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.3205, allocations: 107.3 kB / 1.249 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3205, allocations: 0 / 1.249 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000236/0.3208, allocations: 149.3 kB / 1.249 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3208, allocations: 7.984 kB / 1.249 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3208, allocations: 4 kB / 1.249 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3208, allocations: 0 / 1.249 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3209, allocations: 15.94 kB / 1.249 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3209, allocations: 3.984 kB / 1.249 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.3211, allocations: 16.11 kB / 1.249 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3211, allocations: 3.938 kB / 1.249 GB, free: 1.461 MB / 0.9669 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.0001699/0.3213, allocations: 177.8 kB / 1.249 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.3213, allocations: 31.75 kB / 1.249 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.3217, allocations: 187.6 kB / 1.249 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3217, allocations: 4.125 kB / 1.249 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3217, allocations: 4 kB / 1.249 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3217, allocations: 0 / 1.249 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.322, allocations: 309.5 kB / 1.249 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.322, allocations: 0 / 1.249 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.3221, allocations: 19.92 kB / 1.249 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3222, allocations: 0 / 1.249 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3222, allocations: 4 kB / 1.249 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3222, allocations: 0 / 1.249 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3222, allocations: 3.938 kB / 1.249 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.3225, allocations: 195.5 kB / 1.25 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.3226, allocations: 144.8 kB / 1.25 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/0.3227, allocations: 7.938 kB / 1.25 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3228, allocations: 7.984 kB / 1.25 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.3229, allocations: 11.98 kB / 1.25 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.3229, allocations: 8 kB / 1.25 GB, free: 264 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004974/0.3234, allocations: 387 kB / 1.25 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.3234, allocations: 4 kB / 1.25 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002573/0.3236, allocations: 40 kB / 1.25 GB, free: 15.84 MB / 0.9825 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.0005746/0.3242, allocations: 0.7357 MB / 1.251 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001922/0.3244, allocations: 87.84 kB / 1.251 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3244, allocations: 0 / 1.251 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.809e-05/0.3245, allocations: 51.89 kB / 1.251 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.3249, allocations: 70.12 kB / 1.251 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.329, allocations: 3.174 MB / 1.254 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.3295, allocations: 0.8143 MB / 1.255 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.3296, allocations: 54.25 kB / 1.255 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.3298, allocations: 79.41 kB / 1.255 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3298, allocations: 0 / 1.255 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.3598, allocations: 6.659 MB / 1.262 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.426, allocations: 11.38 kB / 1.262 GB, free: 4.125 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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