Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.CorrectedNFactors,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",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.001329/0.001329, 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.001594/0.001594, 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 63.88 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2866, allocations: 162.2 MB / 1.241 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002802/0.2895, allocations: 1.574 MB / 1.243 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.2909, allocations: 0.9151 MB / 1.244 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.462e-05/0.291, allocations: 11.94 kB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.2913, allocations: 59.66 kB / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004413/0.2917, allocations: 139.3 kB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.457e-05/0.2918, allocations: 11.98 kB / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.2922, allocations: 358.2 kB / 1.244 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.206e-05/0.2923, allocations: 52.73 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.2925, allocations: 139.4 kB / 1.245 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.2928, allocations: 139.3 kB / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.2928, allocations: 16 kB / 1.245 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007721/0.2936, allocations: 0.528 MB / 1.245 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.051e-05/0.2937, allocations: 51.75 kB / 1.245 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.2939, allocations: 135.2 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.2955, allocations: 0.8458 MB / 1.246 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2955, allocations: 0 / 1.246 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2955, allocations: 0 / 1.246 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.2955, allocations: 0 / 1.246 GB, free: 5.277 MB / 0.9981 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.001412/0.297, allocations: 0.6652 MB / 1.247 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.297, allocations: 12.03 kB / 1.247 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.436e-05/0.297, allocations: 30.75 kB / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.919e-05/0.2971, allocations: 32.75 kB / 1.247 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/0.2976, allocations: 386.5 kB / 1.247 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.2977, allocations: 4.375 kB / 1.247 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.2977, allocations: 8.375 kB / 1.247 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.2978, allocations: 97.2 kB / 1.247 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2979, allocations: 3.984 kB / 1.247 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.2979, allocations: 0 / 1.247 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.2979, allocations: 8 kB / 1.247 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.298, allocations: 71.81 kB / 1.248 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.2984, allocations: 336.1 kB / 1.248 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.2986, allocations: 118.3 kB / 1.248 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.2987, allocations: 59.47 kB / 1.248 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.2987, allocations: 0 / 1.248 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.2987, allocations: 42.48 kB / 1.248 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2987, allocations: 4 kB / 1.248 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003651/0.2991, allocations: 189.2 kB / 1.248 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.2992, allocations: 128.5 kB / 1.248 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000647/0.2998, allocations: 0.5053 MB / 1.249 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.2999, allocations: 29.64 kB / 1.249 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.3, allocations: 156.9 kB / 1.249 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.3, allocations: 19.78 kB / 1.249 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.885e-05/0.3001, allocations: 53.69 kB / 1.249 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3003, allocations: 342.8 kB / 1.249 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.3005, allocations: 99.91 kB / 1.25 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.3007, allocations: 152.3 kB / 1.25 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.301, allocations: 239.2 kB / 1.25 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.301, allocations: 0 / 1.25 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004488/0.3015, allocations: 301.2 kB / 1.25 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3015, allocations: 4 kB / 1.25 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3015, allocations: 4 kB / 1.25 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.3015, allocations: 0 / 1.25 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3016, allocations: 19.92 kB / 1.25 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3017, allocations: 7.984 kB / 1.25 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.3018, allocations: 23.88 kB / 1.25 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.3019, allocations: 11.98 kB / 1.25 GB, free: 0.8203 MB / 0.9981 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.0001739/0.302, allocations: 177.7 kB / 1.25 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.3021, allocations: 39.73 kB / 1.25 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.3024, allocations: 179.9 kB / 1.251 GB, free: 428 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3024, allocations: 4 kB / 1.251 GB, free: 424 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3025, allocations: 0 / 1.251 GB, free: 424 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3025, allocations: 4.125 kB / 1.251 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.3028, allocations: 293.4 kB / 1.251 GB, free: 76 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3028, allocations: 0 / 1.251 GB, free: 76 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.3029, allocations: 23.92 kB / 1.251 GB, free: 52 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3029, allocations: 4 kB / 1.251 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.3029, allocations: 3.938 kB / 1.251 GB, free: 44 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.3029, allocations: 4 kB / 1.251 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3029, allocations: 0 / 1.251 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4758/0.7788, allocations: 181.2 kB / 1.251 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.7789, allocations: 140.8 kB / 1.251 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.779, allocations: 3.141 kB / 1.251 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.7792, allocations: 10.25 kB / 1.251 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.7792, allocations: 6.344 kB / 1.251 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.7792, allocations: 4.453 kB / 1.251 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004281/0.7796, allocations: 380.5 kB / 1.252 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.7796, allocations: 0 / 1.252 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005212/0.7802, allocations: 103.6 kB / 1.252 GB, free: 14.7 MB / 0.9981 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.005014/0.7852, allocations: 3.447 MB / 1.255 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000306/0.7855, allocations: 174.3 kB / 1.255 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.7855, allocations: 0 / 1.255 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.712e-05/0.7856, allocations: 49.34 kB / 1.255 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.7859, allocations: 55.55 kB / 1.255 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.7894, allocations: 3.482 MB / 1.259 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.7897, allocations: 0.815 MB / 1.26 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.7898, allocations: 52.53 kB / 1.26 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.7899, allocations: 80.27 kB / 1.26 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.7899, allocations: 0 / 1.26 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.823, allocations: 10.72 MB / 1.27 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/9.023, allocations: 7.25 kB / 1.27 GB, free: 10.67 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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