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.02056/0.02056, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.002598/0.002598, allocations: 190.2 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.681/2.681, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.123/5.123, allocations: 437.1 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002984/0.002985, allocations: 63.83 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983/1.986, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.004997/1.992, allocations: 1.593 MB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002551/1.994, allocations: 0.919 MB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/1.994, allocations: 0 / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005046/1.995, allocations: 71.66 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0008505/1.996, allocations: 151.2 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.018e-05/1.996, allocations: 7.984 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007759/1.997, allocations: 370.3 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/1.997, allocations: 40.75 kB / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000413/1.997, allocations: 139.4 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/1.998, allocations: 143.3 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.404e-05/1.998, allocations: 19.94 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/1.998, allocations: 16 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/1.998, allocations: 47.77 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002599/1.998, allocations: 127.2 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005814/1.999, allocations: 290.4 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.999, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.066e-06/1.999, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.356e-06/1.999, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.9044 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.001932/2.001, allocations: 0.6402 MB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 7.921e-05/2.001, allocations: 8.922 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.868e-05/2.001, allocations: 34.75 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.439e-05/2.001, allocations: 28.75 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009126/2.002, allocations: 402.5 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/2.002, allocations: 4.375 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/2.002, allocations: 384 / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/2.002, allocations: 101.1 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/2.002, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/2.002, allocations: 7.984 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/2.002, allocations: 4 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/2.003, allocations: 63.88 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008156/2.004, allocations: 352.1 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/2.004, allocations: 118.4 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/2.004, allocations: 55.47 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/2.004, allocations: 0 / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.625e-05/2.004, allocations: 50.42 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 2.034e-06/2.004, allocations: 3.938 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.000643/2.005, allocations: 185.3 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/2.005, allocations: 128.5 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/2.006, allocations: 0.5093 MB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/2.006, allocations: 33.69 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/2.006, allocations: 160.1 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.577e-05/2.006, allocations: 20.34 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.536e-05/2.006, allocations: 21.7 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002947/2.007, allocations: 338.8 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/2.007, allocations: 39.95 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/2.007, allocations: 51.41 kB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/2.007, allocations: 111.3 kB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/2.007, allocations: 4 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003896/2.008, allocations: 149.2 kB / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/2.008, allocations: 4 kB / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/2.008, allocations: 4 kB / 1.173 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/2.008, allocations: 0 / 1.173 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/2.008, allocations: 11.98 kB / 1.173 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/2.008, allocations: 4.125 kB / 1.173 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/2.008, allocations: 19.94 kB / 1.173 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/2.008, allocations: 3.984 kB / 1.173 GB, free: 11.91 MB / 0.9044 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.0003233/2.009, allocations: 173.8 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/2.009, allocations: 35.69 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000645/2.01, allocations: 187.8 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/2.01, allocations: 8.031 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/2.01, allocations: 0 / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/2.01, allocations: 4 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000609/2.01, allocations: 309.4 kB / 1.174 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/2.01, allocations: 0 / 1.174 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/2.01, allocations: 19.88 kB / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/2.01, allocations: 0 / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/2.01, allocations: 4 kB / 1.174 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/2.01, allocations: 3.984 kB / 1.174 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/2.01, allocations: 4 kB / 1.174 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/2.011, allocations: 183.4 kB / 1.174 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/2.011, allocations: 148.8 kB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.016e-05/2.011, allocations: 4 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/2.011, allocations: 7.984 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/2.012, allocations: 11.94 kB / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/2.012, allocations: 8 kB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007744/2.012, allocations: 395 kB / 1.175 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/2.012, allocations: 0 / 1.175 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004662/2.013, allocations: 43.94 kB / 1.175 GB, free: 10.29 MB / 0.9044 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.0009267/2.014, allocations: 0.7318 MB / 1.176 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003319/2.014, allocations: 87.86 kB / 1.176 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/2.014, allocations: 0 / 1.176 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/2.014, allocations: 51.91 kB / 1.176 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006289/2.015, allocations: 62.11 kB / 1.176 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006831/2.022, allocations: 3.182 MB / 1.179 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008434/2.023, allocations: 0.8182 MB / 1.18 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002837/2.023, allocations: 46.27 kB / 1.18 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/2.023, allocations: 79.41 kB / 1.18 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of SimCode: time 1.773e-06/2.023, allocations: 4 kB / 1.18 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1325/2.156, allocations: 6.648 MB / 1.186 GB, free: 14.6 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/18.7, allocations: 10.64 kB / 1.186 GB, free: 14.59 MB / 0.92 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