Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_9_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.005314/0.005314, allocations: 97.62 kB / 15.73 MB, free: 6.055 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.001115/0.001116, allocations: 198.4 kB / 16.68 MB, free: 5.961 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.088/2.088, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 59.91 kB / 0.9504 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.751/0.7524, allocations: 140.4 MB / 1.087 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002555/0.755, allocations: 1.589 MB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.7562, allocations: 0.9084 MB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.7563, allocations: 6.094 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.7566, allocations: 64.5 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000448/0.757, allocations: 158.7 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.659e-05/0.7571, allocations: 8.156 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.7575, allocations: 356.2 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.88e-05/0.7576, allocations: 47.05 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.7578, allocations: 150 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.758, allocations: 140.1 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.758, allocations: 15.16 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.7611, allocations: 0.5629 MB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.7612, allocations: 52.59 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.7614, allocations: 141.9 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0178/0.7792, allocations: 13.22 MB / 1.104 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7792, allocations: 1.375 kB / 1.104 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.288e-06/0.7793, allocations: 0 / 1.104 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.7793, allocations: 3.938 kB / 1.104 GB, free: 14.56 MB / 0.8731 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.001744/0.781, allocations: 0.6684 MB / 1.105 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.7811, allocations: 9.406 kB / 1.105 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.7811, allocations: 36.55 kB / 1.105 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.105e-05/0.7812, allocations: 34.61 kB / 1.105 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005472/0.7818, allocations: 379.5 kB / 1.106 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.7818, allocations: 7.375 kB / 1.106 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.7818, allocations: 7.938 kB / 1.106 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.782, allocations: 99.92 kB / 1.106 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.782, allocations: 2.172 kB / 1.106 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.782, allocations: 0 / 1.106 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.782, allocations: 1.281 kB / 1.106 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.7822, allocations: 70.3 kB / 1.106 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.7826, allocations: 345.6 kB / 1.106 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.7827, allocations: 105.8 kB / 1.106 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.07e-05/0.7828, allocations: 63.28 kB / 1.106 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.7828, allocations: 1.188 kB / 1.106 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.7829, allocations: 45.94 kB / 1.106 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.7829, allocations: 0 / 1.106 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4): time 0.0003673/0.7832, allocations: 186.5 kB / 1.106 GB, free: 13 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.7833, allocations: 134.2 kB / 1.107 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000744/0.7841, allocations: 0.5027 MB / 1.107 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.7841, allocations: 26.92 kB / 1.107 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.7842, allocations: 153.1 kB / 1.107 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.7843, allocations: 19.42 kB / 1.107 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.442e-05/0.7844, allocations: 52.52 kB / 1.107 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.7845, allocations: 341.8 kB / 1.108 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.7847, allocations: 101.8 kB / 1.108 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.7849, allocations: 157.8 kB / 1.108 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.7852, allocations: 240 kB / 1.108 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7852, allocations: 0 / 1.108 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004103/0.7856, allocations: 304.1 kB / 1.108 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.7857, allocations: 6.375 kB / 1.108 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7857, allocations: 240 / 1.108 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.7857, allocations: 1.922 kB / 1.108 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.7858, allocations: 17.06 kB / 1.108 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.7859, allocations: 2.312 kB / 1.108 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.786, allocations: 19.95 kB / 1.108 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.7861, allocations: 10.02 kB / 1.108 GB, free: 11.71 MB / 0.8731 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.0001657/0.7862, allocations: 182.8 kB / 1.109 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.7863, allocations: 41.89 kB / 1.109 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.7866, allocations: 169.5 kB / 1.109 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.7866, allocations: 2.688 kB / 1.109 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7866, allocations: 6.062 kB / 1.109 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.7866, allocations: 1.375 kB / 1.109 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.7869, allocations: 300.2 kB / 1.109 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.787, allocations: 5.281 kB / 1.109 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.208e-05/0.7871, allocations: 23.31 kB / 1.109 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.7871, allocations: 1.188 kB / 1.109 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.7871, allocations: 1.859 kB / 1.109 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.7871, allocations: 1.312 kB / 1.109 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7871, allocations: 5.844 kB / 1.109 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.7873, allocations: 192.4 kB / 1.109 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.7875, allocations: 139.1 kB / 1.109 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.7876, allocations: 3.312 kB / 1.109 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.7877, allocations: 9.531 kB / 1.109 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.7877, allocations: 8.359 kB / 1.109 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.7878, allocations: 4.656 kB / 1.109 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000429/0.7882, allocations: 376.7 kB / 1.11 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.483e-06/0.7882, allocations: 0 / 1.11 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008728/0.7891, allocations: 111.6 kB / 1.11 GB, free: 10.77 MB / 0.8731 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.005702/0.7948, allocations: 3.44 MB / 1.113 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004377/0.7952, allocations: 169.2 kB / 1.113 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.7953, allocations: 0 / 1.113 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.632e-05/0.7953, allocations: 47.41 kB / 1.114 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.7958, allocations: 57.91 kB / 1.114 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.8005, allocations: 3.493 MB / 1.117 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.8009, allocations: 0.8181 MB / 1.118 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001503/0.801, allocations: 49.06 kB / 1.118 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.8012, allocations: 75.44 kB / 1.118 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of SimCode: time 6.21e-07/0.8012, allocations: 0 / 1.118 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.8303, allocations: 10.71 MB / 1.128 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.711, allocations: 16.09 kB / 1.128 GB, free: 1.555 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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