Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_10_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.001067/0.001067, allocations: 108.6 kB / 15.73 MB, free: 72 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.001087/0.001087, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.446/2.446, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.256, allocations: 151.6 MB / 1.166 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002722/0.2588, allocations: 1.578 MB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.2602, allocations: 0.9268 MB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.2604, allocations: 4 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.2607, allocations: 59.64 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004962/0.2612, allocations: 155.2 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.995e-05/0.2613, allocations: 4 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.2617, allocations: 370.2 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.752e-05/0.2617, allocations: 52.73 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.262, allocations: 147.3 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.2622, allocations: 143.3 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.2622, allocations: 16 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.142e-05/0.2623, allocations: 16 kB / 1.17 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.631e-05/0.2624, allocations: 47.72 kB / 1.17 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.2625, allocations: 123.3 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.2628, allocations: 295 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2628, allocations: 3.938 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2628, allocations: 4 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.2628, allocations: 0 / 1.17 GB, free: 3.414 MB / 0.92 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.001088/0.2639, allocations: 0.634 MB / 1.171 GB, free: 2.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.264, allocations: 12.02 kB / 1.171 GB, free: 2.719 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.264, allocations: 34.75 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.847e-05/0.2641, allocations: 32.75 kB / 1.171 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.2646, allocations: 390.6 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2646, allocations: 8.375 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.2646, allocations: 384 / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.2648, allocations: 101.1 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.2648, allocations: 4 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.2648, allocations: 0 / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2648, allocations: 4 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.271e-05/0.2649, allocations: 67.86 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.2653, allocations: 352.1 kB / 1.172 GB, free: 1.621 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.2654, allocations: 110.4 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.067e-05/0.2655, allocations: 63.39 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2655, allocations: 0 / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.2656, allocations: 50.44 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.2656, allocations: 0 / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.000326/0.2659, allocations: 185.2 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.2659, allocations: 128.5 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005391/0.2665, allocations: 0.5093 MB / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.2665, allocations: 29.7 kB / 1.173 GB, free: 456 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.2666, allocations: 168.5 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.2667, allocations: 19.83 kB / 1.173 GB, free: 264 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.2667, allocations: 17.72 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.2668, allocations: 342.8 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.162e-05/0.2669, allocations: 31.97 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.796e-05/0.267, allocations: 59.39 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.2671, allocations: 107.3 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2671, allocations: 4 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002007/0.2673, allocations: 149.2 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2673, allocations: 4 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2673, allocations: 4 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2674, allocations: 4.125 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.2675, allocations: 11.98 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2675, allocations: 0 / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.2676, allocations: 19.94 kB / 1.173 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.2676, allocations: 0 / 1.173 GB, free: 15.47 MB / 0.9356 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.0001367/0.2678, allocations: 177.8 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.2679, allocations: 31.75 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.2682, allocations: 199.7 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2682, allocations: 4 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2682, allocations: 0 / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2682, allocations: 4 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.2684, allocations: 301.5 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2685, allocations: 0 / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.069e-05/0.2686, allocations: 19.92 kB / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2686, allocations: 3.938 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.2686, allocations: 4 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.2686, allocations: 8.062 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.2686, allocations: 0 / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.2688, allocations: 191.4 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.269, allocations: 140.8 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.269, allocations: 11.94 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.2692, allocations: 11.98 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.2692, allocations: 15.92 kB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2692, allocations: 4 kB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003982/0.2696, allocations: 395 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2696, allocations: 0 / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002446/0.2699, allocations: 40 kB / 1.175 GB, free: 13.84 MB / 0.9356 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.0004324/0.2703, allocations: 0.7357 MB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.2705, allocations: 83.86 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2705, allocations: 0 / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.424e-05/0.2706, allocations: 60.09 kB / 1.176 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.2709, allocations: 53.53 kB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.2743, allocations: 3.171 MB / 1.179 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.2746, allocations: 0.8143 MB / 1.18 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.2748, allocations: 54.23 kB / 1.18 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.2749, allocations: 79.41 kB / 1.18 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of SimCode: time 4e-07/0.2749, allocations: 4 kB / 1.18 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.2973, allocations: 6.65 MB / 1.186 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.377/7.674, allocations: 8.016 kB / 1.186 GB, free: 2.148 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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