Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",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.001089/0.001089, 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.001057/0.001057, allocations: 195.2 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.229/1.229, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.109/2.109, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 60.14 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4788, allocations: 140.4 MB / 0.9497 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.004209/0.4831, allocations: 4.253 MB / 0.9539 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1322/0.6152, allocations: 150.5 MB / 1.101 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006388/0.6159, allocations: 19.88 kB / 1.101 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.6164, allocations: 166.5 kB / 1.101 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.6177, allocations: 496.8 kB / 1.102 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.6191, allocations: 0.7495 MB / 1.102 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008613/0.62, allocations: 1.195 MB / 1.103 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005751/0.6206, allocations: 0.5075 MB / 1.104 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003438/0.6209, allocations: 406.5 kB / 1.104 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/0.6213, allocations: 426.1 kB / 1.105 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.6215, allocations: 96 kB / 1.105 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005183/0.622, allocations: 375.7 kB / 1.105 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.6222, allocations: 255.2 kB / 1.105 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.6225, allocations: 485.5 kB / 1.106 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.6236, allocations: 1.355 MB / 1.107 GB, free: 108 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6236, allocations: 4 kB / 1.107 GB, free: 104 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6236, allocations: 0 / 1.107 GB, free: 104 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.6236, allocations: 0 / 1.107 GB, free: 104 kB / 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.001888/0.6255, allocations: 1.273 MB / 1.108 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.6256, allocations: 8.031 kB / 1.108 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.6257, allocations: 118.6 kB / 1.109 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/0.626, allocations: 107.7 kB / 1.109 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008677/0.6269, allocations: 0.6992 MB / 1.109 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.6269, allocations: 50 kB / 1.109 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/0.627, allocations: 64 kB / 1.109 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.6281, allocations: 0.776 MB / 1.11 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.6281, allocations: 0 / 1.11 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.618e-05/0.6282, allocations: 35.94 kB / 1.11 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.6282, allocations: 19.94 kB / 1.11 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.6294, allocations: 0.965 MB / 1.111 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002724/0.6321, allocations: 2.486 MB / 1.114 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000985/0.6331, allocations: 0.6876 MB / 1.114 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.6335, allocations: 247.3 kB / 1.115 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.25e-05/0.6336, allocations: 32.52 kB / 1.115 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005803/0.6341, allocations: 419.5 kB / 1.115 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 1.974e-06/0.6342, allocations: 0 / 1.115 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.00128/0.6354, allocations: 0.8454 MB / 1.116 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/0.6355, allocations: 243.8 kB / 1.116 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/0.6362, allocations: 0.6292 MB / 1.117 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.6362, allocations: 41.7 kB / 1.117 GB, free: 6.012 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.6364, allocations: 356.5 kB / 1.117 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.6366, allocations: 228.8 kB / 1.117 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.6368, allocations: 138.2 kB / 1.117 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6369, allocations: 378.9 kB / 1.118 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.6372, allocations: 209.2 kB / 1.118 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.6376, allocations: 325.4 kB / 1.118 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.6383, allocations: 0.4978 MB / 1.119 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.6383, allocations: 7.938 kB / 1.119 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009021/0.6392, allocations: 0.6292 MB / 1.119 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.6392, allocations: 8.156 kB / 1.119 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6392, allocations: 0 / 1.119 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.6392, allocations: 8 kB / 1.119 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.6397, allocations: 135.7 kB / 1.119 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.6397, allocations: 7.984 kB / 1.12 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/0.6402, allocations: 80.8 kB / 1.12 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.6402, allocations: 27.98 kB / 1.12 GB, free: 2.938 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.0002659/0.6405, allocations: 265.5 kB / 1.12 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.6406, allocations: 82.97 kB / 1.12 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.642, allocations: 0.8487 MB / 1.121 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.642, allocations: 11.94 kB / 1.121 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.642, allocations: 0 / 1.121 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.642, allocations: 7.922 kB / 1.121 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008684/0.6429, allocations: 0.9715 MB / 1.122 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6429, allocations: 0 / 1.122 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.6433, allocations: 127.8 kB / 1.122 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.6433, allocations: 4 kB / 1.122 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.6434, allocations: 24.02 kB / 1.122 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.6434, allocations: 0 / 1.122 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6434, allocations: 4 kB / 1.122 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009878/0.6444, allocations: 0.7393 MB / 1.123 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.6446, allocations: 259.8 kB / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.6447, allocations: 16 kB / 1.123 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.6452, allocations: 59.94 kB / 1.123 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.6453, allocations: 60.56 kB / 1.123 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.6454, allocations: 27.98 kB / 1.123 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004539/0.6459, allocations: 459 kB / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6459, allocations: 0 / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005652/0.6464, allocations: 259.5 kB / 1.124 GB, free: 14.62 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.002229/0.6487, allocations: 1.797 MB / 1.125 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.6499, allocations: 0.72 MB / 1.126 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6499, allocations: 320 / 1.126 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00041/0.6504, allocations: 327.6 kB / 1.126 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009156/0.6513, allocations: 259.8 kB / 1.127 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006186/0.6575, allocations: 5.699 MB / 1.132 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.6579, allocations: 0.9834 MB / 1.133 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006133/0.6585, allocations: 250.2 kB / 1.133 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.6589, allocations: 331.3 kB / 1.134 GB, free: 4.305 MB / 0.8887 GB Notification: Performance of SimCode: time 3.6e-07/0.6589, allocations: 0 / 1.134 GB, free: 4.305 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/0.6932, allocations: 18.14 MB / 1.152 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.061/7.755, allocations: 7.734 kB / 1.152 GB, free: 2.449 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv --start-time 0 --stop-time 9.4608e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 37843.2 Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches