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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00129/0.00129, 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.001265/0.001265, allocations: 193.4 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.206/1.206, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.43/2.43, allocations: 469.4 MB / 0.742 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 71.67 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2476, allocations: 159.2 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002668/0.2503, allocations: 1.577 MB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.2516, allocations: 0.919 MB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.021e-05/0.2517, allocations: 7.938 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.2519, allocations: 63.64 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004374/0.2524, allocations: 147.3 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.751e-05/0.2524, allocations: 8 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.2528, allocations: 370.3 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.281e-05/0.2528, allocations: 44.69 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.2531, allocations: 143.4 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.2532, allocations: 139.3 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.2533, allocations: 16 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.636e-05/0.2534, allocations: 12 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.2534, allocations: 47.78 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.2536, allocations: 135.1 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.2538, allocations: 279.3 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.2538, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.2538, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2538, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 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.0008976/0.2547, allocations: 0.634 MB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2548, allocations: 8.031 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.2548, allocations: 30.75 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.2549, allocations: 32.56 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.2553, allocations: 386.3 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.2553, allocations: 384 / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.2553, allocations: 384 / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.2555, allocations: 113.1 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.2555, allocations: 3.938 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.2555, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2555, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.348e-05/0.2556, allocations: 71.86 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.2559, allocations: 364 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.2561, allocations: 102.4 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.213e-05/0.2561, allocations: 63.45 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.2562, allocations: 7.922 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.2562, allocations: 42.5 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2562, allocations: 0 / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002962/0.2565, allocations: 185.4 kB / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.2566, allocations: 132.5 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/0.2571, allocations: 0.5132 MB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.2571, allocations: 29.7 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.2572, allocations: 156.1 kB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.2572, allocations: 15.89 kB / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.2573, allocations: 21.62 kB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2574, allocations: 355 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/0.2574, allocations: 31.97 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.2575, allocations: 63.33 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.2576, allocations: 99.36 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2576, allocations: 0 / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001935/0.2578, allocations: 153 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2579, allocations: 8 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2579, allocations: 0 / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2579, allocations: 0 / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.258, allocations: 15.92 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.258, allocations: 4 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.2581, allocations: 8.109 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.2582, allocations: 8 kB / 1.071 GB, free: 6.672 MB / 0.8262 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.0001266/0.2583, allocations: 174.3 kB / 1.071 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.2583, allocations: 35.56 kB / 1.071 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.2586, allocations: 187.6 kB / 1.071 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2586, allocations: 4.125 kB / 1.071 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2586, allocations: 4 kB / 1.071 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2587, allocations: 3.984 kB / 1.071 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.2589, allocations: 297.5 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2589, allocations: 0 / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.98e-05/0.259, allocations: 23.86 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.259, allocations: 4 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.259, allocations: 4 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.259, allocations: 4 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.259, allocations: 3.938 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.2593, allocations: 199.1 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.2594, allocations: 136.7 kB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.2594, allocations: 7.922 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.2596, allocations: 15.98 kB / 1.072 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.2596, allocations: 7.984 kB / 1.072 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.2596, allocations: 4 kB / 1.072 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003856/0.26, allocations: 391 kB / 1.072 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.9e-07/0.26, allocations: 0 / 1.072 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002364/0.2602, allocations: 43.98 kB / 1.072 GB, free: 5.039 MB / 0.8262 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.0003981/0.2607, allocations: 0.7277 MB / 1.073 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.2608, allocations: 91.86 kB / 1.073 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2608, allocations: 0 / 1.073 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.863e-05/0.2609, allocations: 43.91 kB / 1.073 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.2612, allocations: 65.97 kB / 1.073 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.2644, allocations: 3.185 MB / 1.076 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.2647, allocations: 0.8143 MB / 1.077 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.2649, allocations: 54.27 kB / 1.077 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.265, allocations: 79.41 kB / 1.077 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.265, allocations: 0 / 1.077 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.2867, allocations: 6.6 MB / 1.084 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/6.981, allocations: 10.62 kB / 1.084 GB, free: 9.359 MB / 0.8419 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 50 --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