Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 216.4 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.685/2.685, allocations: 476 MB / 0.7699 GB, free: 4.695 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 68.69 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2802, allocations: 169.9 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.0035/0.2837, allocations: 1.58 MB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.2853, allocations: 0.8624 MB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.014e-05/0.2853, allocations: 4 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.2856, allocations: 55.69 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.2861, allocations: 143.3 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.717e-05/0.2861, allocations: 7.938 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000434/0.2866, allocations: 362.3 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.678e-05/0.2866, allocations: 20.91 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.2869, allocations: 147.4 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.2872, allocations: 151.3 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.2872, allocations: 16 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.2879, allocations: 492.8 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.233e-05/0.288, allocations: 43.78 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.2881, allocations: 123.3 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.2897, allocations: 0.8337 MB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2897, allocations: 0 / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2897, allocations: 0 / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.2897, allocations: 0 / 1.287 GB, free: 7.609 MB / 0.9825 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.001552/0.2913, allocations: 0.5899 MB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2913, allocations: 8.031 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.2913, allocations: 34.75 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.809e-05/0.2914, allocations: 32.7 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006115/0.2921, allocations: 324.8 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2921, allocations: 8.297 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.2921, allocations: 8.375 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.2923, allocations: 97.2 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2923, allocations: 0 / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.2923, allocations: 4 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2923, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.2924, allocations: 71.86 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.2928, allocations: 283.2 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.293, allocations: 114.3 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.037e-05/0.2931, allocations: 63.45 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.2931, allocations: 0 / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.2931, allocations: 38.5 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2931, allocations: 0 / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003681/0.2935, allocations: 189.3 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/0.2936, allocations: 132.5 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006616/0.2942, allocations: 0.5014 MB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.2943, allocations: 33.7 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.2944, allocations: 156.4 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.2944, allocations: 15.89 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-05/0.2945, allocations: 49.59 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.2947, allocations: 350.8 kB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.2948, allocations: 96.42 kB / 1.29 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.2951, allocations: 271.4 kB / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.2955, allocations: 243.2 kB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.2955, allocations: 4 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004646/0.2959, allocations: 297.2 kB / 1.291 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2959, allocations: 8 kB / 1.291 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2959, allocations: 0 / 1.291 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.296, allocations: 3.984 kB / 1.291 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.2961, allocations: 19.92 kB / 1.291 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.2961, allocations: 4 kB / 1.291 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.2963, allocations: 23.88 kB / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.2963, allocations: 4 kB / 1.291 GB, free: 3.258 MB / 0.9825 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001924/0.2965, allocations: 189.7 kB / 1.291 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/0.2965, allocations: 35.7 kB / 1.291 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.2969, allocations: 179.6 kB / 1.292 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2969, allocations: 0 / 1.292 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2969, allocations: 4 kB / 1.292 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2969, allocations: 4.234 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.2972, allocations: 240.6 kB / 1.292 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2972, allocations: 128 / 1.292 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.862e-05/0.2973, allocations: 19.94 kB / 1.292 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2973, allocations: 3.984 kB / 1.292 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.2973, allocations: 4 kB / 1.292 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.2973, allocations: 7.922 kB / 1.292 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2973, allocations: 0 / 1.292 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.2975, allocations: 183.4 kB / 1.292 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.2977, allocations: 67.61 kB / 1.292 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.2977, allocations: 4 kB / 1.292 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.2979, allocations: 15.92 kB / 1.292 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.2979, allocations: 11.92 kB / 1.292 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.2979, allocations: 8 kB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004605/0.2984, allocations: 379 kB / 1.292 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.2984, allocations: 0 / 1.292 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004726/0.2988, allocations: 103.9 kB / 1.293 GB, free: 1.746 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.005214/0.3041, allocations: 3.446 MB / 1.296 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004285/0.3045, allocations: 163.8 kB / 1.296 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.3045, allocations: 0 / 1.296 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.3046, allocations: 43.91 kB / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.3051, allocations: 62.02 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/0.3099, allocations: 3.495 MB / 1.3 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.3101, allocations: 211.4 kB / 1.3 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001585/0.3102, allocations: 58.22 kB / 1.3 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.3104, allocations: 79.41 kB / 1.3 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/0.3104, allocations: 0 / 1.3 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04106/0.3514, allocations: 11.7 MB / 1.311 GB, free: 14.53 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.77, allocations: 3.938 kB / 1.311 GB, free: 14.52 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_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_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.196425024885684]