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.01163/0.01163, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.00226/0.00226, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.752/2.752, allocations: 222.9 MB / 240.4 MB, free: 15.09 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 4.805/4.805, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003654/0.003654, allocations: 63.89 kB / 1.018 GB, free: 9.953 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025/2.029, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.004603/2.034, allocations: 1.59 MB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002335/2.036, allocations: 0.919 MB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/2.036, allocations: 8 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003855/2.037, allocations: 59.66 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0006975/2.037, allocations: 147.3 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.313e-05/2.037, allocations: 11.98 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006534/2.038, allocations: 362.2 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/2.038, allocations: 44.75 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/2.038, allocations: 135.4 kB / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003221/2.039, allocations: 143.3 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/2.039, allocations: 16 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005338/2.044, allocations: 0.5669 MB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001822/2.044, allocations: 51.77 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003212/2.045, allocations: 135.1 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.02455/2.069, allocations: 13.23 MB / 1.183 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/2.069, allocations: 0 / 1.183 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.567e-06/2.069, allocations: 0 / 1.183 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.869e-06/2.069, allocations: 4 kB / 1.183 GB, free: 2.352 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.00237/2.072, allocations: 0.6613 MB / 1.184 GB, free: 1.641 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 8.684e-05/2.072, allocations: 8.922 kB / 1.184 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/2.072, allocations: 38.75 kB / 1.184 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/2.072, allocations: 32.75 kB / 1.184 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008388/2.073, allocations: 378.6 kB / 1.184 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/2.073, allocations: 384 / 1.184 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/2.073, allocations: 4.375 kB / 1.184 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/2.073, allocations: 105.1 kB / 1.184 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/2.073, allocations: 8 kB / 1.184 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/2.073, allocations: 0 / 1.184 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/2.073, allocations: 0 / 1.184 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/2.074, allocations: 71.84 kB / 1.184 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006217/2.074, allocations: 348 kB / 1.185 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/2.075, allocations: 106.4 kB / 1.185 GB, free: 408 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/2.075, allocations: 63.39 kB / 1.185 GB, free: 332 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/2.075, allocations: 4 kB / 1.185 GB, free: 328 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/2.075, allocations: 42.5 kB / 1.185 GB, free: 276 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.933e-06/2.075, allocations: 3.938 kB / 1.185 GB, free: 272 kB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0005676/2.075, allocations: 185.2 kB / 1.185 GB, free: 80 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/2.076, allocations: 128.5 kB / 1.185 GB, free: 15.92 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/2.077, allocations: 0.5054 MB / 1.186 GB, free: 15.41 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/2.077, allocations: 26.2 kB / 1.186 GB, free: 15.38 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/2.077, allocations: 164.4 kB / 1.186 GB, free: 15.21 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/2.077, allocations: 19.83 kB / 1.186 GB, free: 15.19 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/2.077, allocations: 45.7 kB / 1.186 GB, free: 15.14 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002574/2.078, allocations: 342.8 kB / 1.186 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/2.078, allocations: 95.92 kB / 1.186 GB, free: 14.7 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/2.078, allocations: 169 kB / 1.187 GB, free: 14.51 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004802/2.079, allocations: 235.2 kB / 1.187 GB, free: 14.27 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/2.079, allocations: 0 / 1.187 GB, free: 14.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007698/2.079, allocations: 297.2 kB / 1.187 GB, free: 13.97 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/2.079, allocations: 8 kB / 1.187 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/2.079, allocations: 3.984 kB / 1.187 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/2.079, allocations: 4 kB / 1.187 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/2.08, allocations: 15.98 kB / 1.187 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/2.08, allocations: 0 / 1.187 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/2.08, allocations: 27.88 kB / 1.187 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/2.08, allocations: 4 kB / 1.187 GB, free: 13.91 MB / 0.92 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.0003032/2.08, allocations: 181.7 kB / 1.187 GB, free: 13.72 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.944e-05/2.081, allocations: 31.75 kB / 1.187 GB, free: 13.69 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005864/2.081, allocations: 183.7 kB / 1.187 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/2.081, allocations: 8.125 kB / 1.188 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/2.081, allocations: 0 / 1.188 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/2.081, allocations: 4 kB / 1.188 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/2.082, allocations: 297.4 kB / 1.188 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/2.082, allocations: 3.938 kB / 1.188 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/2.082, allocations: 19.92 kB / 1.188 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/2.082, allocations: 0 / 1.188 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/2.082, allocations: 4 kB / 1.188 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/2.082, allocations: 0 / 1.188 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/2.082, allocations: 0 / 1.188 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/2.083, allocations: 195.4 kB / 1.188 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/2.083, allocations: 132.8 kB / 1.188 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/2.083, allocations: 8 kB / 1.188 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/2.083, allocations: 7.984 kB / 1.188 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/2.083, allocations: 11.98 kB / 1.188 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/2.083, allocations: 4 kB / 1.188 GB, free: 12.73 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002819/2.086, allocations: 383 kB / 1.189 GB, free: 12.36 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.01e-07/2.086, allocations: 0 / 1.189 GB, free: 12.36 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009391/2.087, allocations: 95.88 kB / 1.189 GB, free: 12.27 MB / 0.92 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.01/2.097, allocations: 3.442 MB / 1.192 GB, free: 8.781 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001056/2.098, allocations: 176 kB / 1.192 GB, free: 8.609 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/2.098, allocations: 0 / 1.192 GB, free: 8.609 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/2.098, allocations: 43.97 kB / 1.192 GB, free: 8.566 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009474/2.099, allocations: 63.12 kB / 1.192 GB, free: 8.508 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008928/2.108, allocations: 3.484 MB / 1.196 GB, free: 4.902 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008394/2.109, allocations: 0.8182 MB / 1.196 GB, free: 4.059 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003487/2.11, allocations: 41.92 kB / 1.196 GB, free: 4.02 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/2.11, allocations: 79.41 kB / 1.197 GB, free: 3.941 MB / 0.92 GB Notification: Performance of SimCode: time 2.124e-06/2.11, allocations: 4 kB / 1.197 GB, free: 3.938 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1662/2.276, allocations: 10.72 MB / 1.207 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.15/19.42, allocations: 6.766 kB / 1.207 GB, free: 9.395 MB / 0.9356 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