Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",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.001222/0.001222, 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.00126/0.00126, allocations: 195.7 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.238/1.238, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.105/2.105, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.4945, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.004267/0.4988, allocations: 4.253 MB / 0.9539 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1289/0.6278, allocations: 150.5 MB / 1.101 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006353/0.6285, allocations: 15.94 kB / 1.101 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.6289, allocations: 170.4 kB / 1.101 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.6302, allocations: 488.9 kB / 1.102 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.6317, allocations: 0.7518 MB / 1.102 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008742/0.6326, allocations: 1.199 MB / 1.103 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005739/0.6332, allocations: 0.51 MB / 1.104 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003556/0.6335, allocations: 406.5 kB / 1.104 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.6339, allocations: 422.1 kB / 1.105 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.6341, allocations: 96 kB / 1.105 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005173/0.6346, allocations: 383.6 kB / 1.105 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.6348, allocations: 251.2 kB / 1.105 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000324/0.6351, allocations: 481.5 kB / 1.106 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.6362, allocations: 1.355 MB / 1.107 GB, free: 0 / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6362, allocations: 0 / 1.107 GB, free: 0 / 0.8575 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6362, allocations: 0 / 1.107 GB, free: 0 / 0.8575 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.6362, allocations: 0 / 1.107 GB, free: 0 / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001771/0.638, allocations: 1.273 MB / 1.108 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.638, allocations: 8.031 kB / 1.108 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.6382, allocations: 114.7 kB / 1.109 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/0.6384, allocations: 115.7 kB / 1.109 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007725/0.6392, allocations: 0.6953 MB / 1.109 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.6392, allocations: 50 kB / 1.109 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.021e-05/0.6393, allocations: 64 kB / 1.109 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.6403, allocations: 0.7798 MB / 1.11 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.6404, allocations: 0 / 1.11 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/0.6404, allocations: 28 kB / 1.11 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.6404, allocations: 16 kB / 1.11 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.6417, allocations: 0.9727 MB / 1.111 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002777/0.6444, allocations: 2.493 MB / 1.114 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.6455, allocations: 0.6853 MB / 1.114 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.6459, allocations: 251.2 kB / 1.115 GB, free: 8.199 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.765e-05/0.6459, allocations: 32.52 kB / 1.115 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005953/0.6465, allocations: 419.6 kB / 1.115 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 1.964e-06/0.6465, allocations: 0 / 1.115 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.00136/0.6479, allocations: 0.8415 MB / 1.116 GB, free: 6.895 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/0.648, allocations: 243.8 kB / 1.116 GB, free: 6.598 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/0.6487, allocations: 0.6333 MB / 1.117 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.6487, allocations: 41.7 kB / 1.117 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.6489, allocations: 356.5 kB / 1.117 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.6491, allocations: 232.7 kB / 1.117 GB, free: 5.324 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.6493, allocations: 134.2 kB / 1.117 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.6494, allocations: 382.8 kB / 1.118 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.6497, allocations: 205.2 kB / 1.118 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.6501, allocations: 325.4 kB / 1.118 GB, free: 4.25 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007042/0.6509, allocations: 0.4939 MB / 1.119 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.6509, allocations: 4.109 kB / 1.119 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009506/0.6518, allocations: 0.633 MB / 1.119 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.6518, allocations: 4 kB / 1.119 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6519, allocations: 4 kB / 1.119 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.6519, allocations: 4 kB / 1.119 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.6524, allocations: 139.7 kB / 1.119 GB, free: 2.949 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.6524, allocations: 12.09 kB / 1.12 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004774/0.6529, allocations: 83.39 kB / 1.12 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.6529, allocations: 23.98 kB / 1.12 GB, free: 2.832 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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 prepare postOptimizeDAE: time 0.0002906/0.6532, allocations: 261.5 kB / 1.12 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.6533, allocations: 82.97 kB / 1.12 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.6547, allocations: 0.8448 MB / 1.121 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.6548, allocations: 11.94 kB / 1.121 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6548, allocations: 0 / 1.121 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.6548, allocations: 7.984 kB / 1.121 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009254/0.6557, allocations: 0.9715 MB / 1.122 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6557, allocations: 0 / 1.122 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/0.6561, allocations: 127.8 kB / 1.122 GB, free: 464 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.6561, allocations: 4 kB / 1.122 GB, free: 460 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.6562, allocations: 19.98 kB / 1.122 GB, free: 440 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.6562, allocations: 4 kB / 1.122 GB, free: 436 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6562, allocations: 4 kB / 1.122 GB, free: 432 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.6572, allocations: 0.7434 MB / 1.123 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/0.6575, allocations: 259.8 kB / 1.123 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.6576, allocations: 16 kB / 1.123 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004746/0.6581, allocations: 53.97 kB / 1.123 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.6582, allocations: 68.5 kB / 1.123 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.204e-05/0.6583, allocations: 31.98 kB / 1.123 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004696/0.6587, allocations: 459 kB / 1.123 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6588, allocations: 0 / 1.123 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005738/0.6593, allocations: 259.5 kB / 1.124 GB, free: 14.51 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002313/0.6616, allocations: 1.792 MB / 1.125 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.663, allocations: 0.7238 MB / 1.126 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.663, allocations: 0 / 1.126 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004287/0.6634, allocations: 323.6 kB / 1.126 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000951/0.6644, allocations: 265.5 kB / 1.127 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006389/0.6708, allocations: 5.691 MB / 1.132 GB, free: 5.781 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.6712, allocations: 0.9757 MB / 1.133 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00063/0.6718, allocations: 254.2 kB / 1.133 GB, free: 4.523 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/0.6722, allocations: 335.3 kB / 1.134 GB, free: 4.199 MB / 0.8887 GB Notification: Performance of SimCode: time 4.01e-07/0.6722, allocations: 0 / 1.134 GB, free: 4.199 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03547/0.7077, allocations: 18.14 MB / 1.152 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/7.867, allocations: 18.91 kB / 1.152 GB, free: 2.332 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.csv --start-time 0 --stop-time 3.66336e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 14653.4 Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches