Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CorrectedNFactors,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_10_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.001366/0.001366, allocations: 108 kB / 15.61 MB, free: 152 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.001369/0.001369, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.404/2.404, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.91 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5054/0.5068, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002456/0.5092, allocations: 1.583 MB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.5104, allocations: 0.9112 MB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.5104, allocations: 8 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.5107, allocations: 67.58 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.511, allocations: 147.3 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.011e-05/0.5111, allocations: 11.92 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.5114, allocations: 354.3 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.535e-05/0.5115, allocations: 56.7 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.5116, allocations: 143.4 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.5118, allocations: 139.3 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.5119, allocations: 19.98 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.5148, allocations: 0.563 MB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.5149, allocations: 51.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.515, allocations: 135.3 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.5283, allocations: 13.23 MB / 1.034 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5283, allocations: 0 / 1.034 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5283, allocations: 4 kB / 1.034 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.5283, allocations: 4 kB / 1.034 GB, free: 1.043 MB / 0.7794 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.001154/0.5295, allocations: 0.6475 MB / 1.035 GB, free: 356 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.5295, allocations: 12.03 kB / 1.035 GB, free: 344 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.5295, allocations: 34.75 kB / 1.035 GB, free: 300 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.5296, allocations: 28.56 kB / 1.035 GB, free: 272 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.53, allocations: 374.4 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.53, allocations: 8.312 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.53, allocations: 8.375 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.5302, allocations: 97.2 kB / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.84e-06/0.5302, allocations: 0 / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.5302, allocations: 4 kB / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.5302, allocations: 0 / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.929e-05/0.5303, allocations: 71.86 kB / 1.036 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.5306, allocations: 347.9 kB / 1.036 GB, free: 15.26 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.5307, allocations: 106.3 kB / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.591e-05/0.5308, allocations: 63.45 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.5308, allocations: 4 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.5309, allocations: 34.5 kB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.5309, allocations: 4 kB / 1.036 GB, free: 14.99 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002851/0.5312, allocations: 185.1 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.5312, allocations: 136.5 kB / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004935/0.5317, allocations: 0.5014 MB / 1.037 GB, free: 14.13 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.5318, allocations: 25.7 kB / 1.037 GB, free: 14.1 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.5319, allocations: 156.9 kB / 1.037 GB, free: 13.95 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.5319, allocations: 23.8 kB / 1.037 GB, free: 13.92 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.532, allocations: 53.62 kB / 1.037 GB, free: 13.86 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5321, allocations: 338.8 kB / 1.038 GB, free: 13.52 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.5322, allocations: 95.92 kB / 1.038 GB, free: 13.43 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.5324, allocations: 166.7 kB / 1.038 GB, free: 13.24 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.5326, allocations: 231.2 kB / 1.038 GB, free: 13 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5327, allocations: 4 kB / 1.038 GB, free: 13 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003603/0.533, allocations: 301 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.533, allocations: 4 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5331, allocations: 0 / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.5331, allocations: 4 kB / 1.038 GB, free: 12.69 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.5332, allocations: 19.92 kB / 1.038 GB, free: 12.67 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.5332, allocations: 0 / 1.038 GB, free: 12.67 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.5334, allocations: 23.83 kB / 1.038 GB, free: 12.65 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.5334, allocations: 8 kB / 1.038 GB, free: 12.64 MB / 0.795 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.0001415/0.5335, allocations: 185.7 kB / 1.039 GB, free: 12.45 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.5336, allocations: 39.41 kB / 1.039 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.5339, allocations: 179.7 kB / 1.039 GB, free: 12.23 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5339, allocations: 8.109 kB / 1.039 GB, free: 12.22 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5339, allocations: 0 / 1.039 GB, free: 12.22 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5339, allocations: 4 kB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.5341, allocations: 289.4 kB / 1.039 GB, free: 11.88 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5341, allocations: 0 / 1.039 GB, free: 11.88 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.719e-05/0.5342, allocations: 19.94 kB / 1.039 GB, free: 11.86 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5342, allocations: 0 / 1.039 GB, free: 11.86 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.5342, allocations: 7.984 kB / 1.039 GB, free: 11.86 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.5342, allocations: 3.938 kB / 1.039 GB, free: 11.85 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5342, allocations: 0 / 1.039 GB, free: 11.85 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.5344, allocations: 191.2 kB / 1.039 GB, free: 11.64 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.5346, allocations: 128.7 kB / 1.039 GB, free: 11.49 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.5346, allocations: 11.89 kB / 1.039 GB, free: 11.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.5348, allocations: 11.98 kB / 1.039 GB, free: 11.47 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.5348, allocations: 15.94 kB / 1.039 GB, free: 11.45 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.5348, allocations: 4 kB / 1.039 GB, free: 11.45 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000373/0.5352, allocations: 379 kB / 1.04 GB, free: 11.08 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5352, allocations: 0 / 1.04 GB, free: 11.08 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003874/0.5356, allocations: 99.94 kB / 1.04 GB, free: 10.98 MB / 0.795 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.004658/0.5402, allocations: 3.431 MB / 1.043 GB, free: 7.512 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000284/0.5405, allocations: 175.8 kB / 1.043 GB, free: 7.34 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5405, allocations: 0 / 1.043 GB, free: 7.34 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.453e-05/0.5406, allocations: 51.89 kB / 1.043 GB, free: 7.289 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.5409, allocations: 54.44 kB / 1.043 GB, free: 7.238 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.5444, allocations: 3.485 MB / 1.047 GB, free: 3.629 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.5447, allocations: 0.8104 MB / 1.048 GB, free: 2.793 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.5448, allocations: 50.22 kB / 1.048 GB, free: 2.746 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.545, allocations: 83.41 kB / 1.048 GB, free: 2.664 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.545, allocations: 0 / 1.048 GB, free: 2.664 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.57, allocations: 10.66 MB / 1.058 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.005/7.575, allocations: 21.95 kB / 1.058 GB, free: 8.145 MB / 0.8106 GB (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_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_CorrectedNFactors.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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