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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008616/0.008615, allocations: 100.9 kB / 15.73 MB, free: 6 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.002035/0.002035, allocations: 189.5 kB / 16.67 MB, free: 5.934 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.7/1.7, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.895/2.895, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.84 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3077, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002844/0.3106, allocations: 1.595 MB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.3121, allocations: 0.9151 MB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.981e-05/0.3122, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.3125, allocations: 59.66 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004823/0.313, allocations: 147.3 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.063e-05/0.313, allocations: 11.92 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004436/0.3135, allocations: 366.3 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.614e-05/0.3136, allocations: 48.72 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.3138, allocations: 135.4 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.3141, allocations: 151.3 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.3141, allocations: 16 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00326/0.3174, allocations: 0.5551 MB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.3176, allocations: 55.64 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.3178, allocations: 135.3 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01583/0.3336, allocations: 13.24 MB / 1.237 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3337, allocations: 0 / 1.237 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3337, allocations: 0 / 1.237 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.3337, allocations: 4 kB / 1.237 GB, free: 12.88 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.001478/0.3352, allocations: 0.6574 MB / 1.238 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3352, allocations: 12.03 kB / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/0.3353, allocations: 34.75 kB / 1.238 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.3354, allocations: 40.69 kB / 1.238 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.3359, allocations: 374.7 kB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3359, allocations: 4.375 kB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.3359, allocations: 8.312 kB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.3361, allocations: 105.2 kB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3361, allocations: 0 / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3361, allocations: 3.938 kB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3361, allocations: 0 / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.3363, allocations: 67.88 kB / 1.238 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.3367, allocations: 340.1 kB / 1.239 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.3368, allocations: 114.5 kB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.3369, allocations: 59.34 kB / 1.239 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.337, allocations: 8 kB / 1.239 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.337, allocations: 38.48 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.337, allocations: 4 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003783/0.3374, allocations: 185.2 kB / 1.239 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.259e-05/0.3375, allocations: 133 kB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006186/0.3381, allocations: 0.5014 MB / 1.24 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.3381, allocations: 29.7 kB / 1.24 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3383, allocations: 164.4 kB / 1.24 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.3383, allocations: 11.84 kB / 1.24 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/0.3384, allocations: 49.69 kB / 1.24 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3386, allocations: 342.8 kB / 1.24 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3387, allocations: 103.8 kB / 1.24 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.3389, allocations: 162.7 kB / 1.241 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.3393, allocations: 235.2 kB / 1.241 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3393, allocations: 4 kB / 1.241 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004385/0.3397, allocations: 293.2 kB / 1.241 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3397, allocations: 4 kB / 1.241 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3398, allocations: 8 kB / 1.241 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3398, allocations: 0 / 1.241 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.3399, allocations: 15.98 kB / 1.241 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.34, allocations: 11.88 kB / 1.241 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.3401, allocations: 27.8 kB / 1.241 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.3402, allocations: 8 kB / 1.241 GB, free: 8.43 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.0001814/0.3403, allocations: 174.3 kB / 1.241 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/0.3404, allocations: 35.75 kB / 1.241 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.3408, allocations: 187.9 kB / 1.242 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3408, allocations: 4 kB / 1.242 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3408, allocations: 0 / 1.242 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3408, allocations: 0 / 1.242 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.3411, allocations: 289.5 kB / 1.242 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3411, allocations: 0 / 1.242 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.3412, allocations: 19.92 kB / 1.242 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3412, allocations: 4 kB / 1.242 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3412, allocations: 4.125 kB / 1.242 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.3412, allocations: 3.938 kB / 1.242 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.3413, allocations: 4 kB / 1.242 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.3415, allocations: 187.4 kB / 1.242 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.3417, allocations: 140.8 kB / 1.242 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.3417, allocations: 12 kB / 1.242 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.3419, allocations: 11.98 kB / 1.242 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.3419, allocations: 7.984 kB / 1.242 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.3419, allocations: 3.938 kB / 1.242 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004694/0.3424, allocations: 379 kB / 1.243 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3424, allocations: 0 / 1.243 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004753/0.3429, allocations: 99.94 kB / 1.243 GB, free: 6.785 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.005098/0.348, allocations: 3.438 MB / 1.246 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004312/0.3485, allocations: 171.7 kB / 1.246 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/0.3485, allocations: 4 kB / 1.246 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.894e-05/0.3486, allocations: 43.91 kB / 1.246 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.349, allocations: 65.33 kB / 1.246 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.538/0.887, allocations: 3.484 MB / 1.25 GB, free: 30.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.8873, allocations: 0.8138 MB / 1.25 GB, free: 29.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000195/0.8875, allocations: 48.47 kB / 1.25 GB, free: 29.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.8877, allocations: 79.64 kB / 1.251 GB, free: 29.69 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/0.8877, allocations: 0 / 1.251 GB, free: 29.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.9255, allocations: 10.71 MB / 1.261 GB, free: 29.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.71, allocations: 16.36 kB / 1.261 GB, free: 29.02 MB / 0.9981 GB (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 50 --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) 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) "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