Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="BuildingSystems_BuildingSystems_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.003424/0.003424, allocations: 99.53 kB / 15.73 MB, free: 6.48 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.0009363/0.0009363, allocations: 193.4 kB / 16.68 MB, free: 6.363 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.201/1.201, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001963/0.001963, allocations: 278.9 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8667/0.8667, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 87.92 kB / 0.6809 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.135, allocations: 86.98 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005064/0.1401, allocations: 4.257 MB / 0.77 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4128/0.5529, allocations: 150.5 MB / 0.917 GB, free: 8.059 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005622/0.5535, allocations: 19.88 kB / 0.9171 GB, free: 8.039 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004583/0.5539, allocations: 168.6 kB / 0.9172 GB, free: 7.875 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.5552, allocations: 0.4904 MB / 0.9177 GB, free: 7.402 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.5567, allocations: 0.7514 MB / 0.9184 GB, free: 6.68 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009347/0.5577, allocations: 1.205 MB / 0.9196 GB, free: 5.473 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000602/0.5583, allocations: 0.5068 MB / 0.9201 GB, free: 4.953 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003775/0.5587, allocations: 418.5 kB / 0.9205 GB, free: 4.543 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004274/0.5591, allocations: 418.1 kB / 0.9209 GB, free: 4.133 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.5592, allocations: 100 kB / 0.921 GB, free: 4.035 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005238/0.5597, allocations: 403.6 kB / 0.9214 GB, free: 3.641 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.56, allocations: 251.2 kB / 0.9216 GB, free: 3.395 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00035/0.5603, allocations: 481.5 kB / 0.9221 GB, free: 2.922 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.5616, allocations: 1.406 MB / 0.9235 GB, free: 1.52 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5616, allocations: 3.938 kB / 0.9235 GB, free: 1.516 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5616, allocations: 1.5 kB / 0.9235 GB, free: 1.516 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.5616, allocations: 4 kB / 0.9235 GB, free: 1.512 MB / 0.67 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.001868/0.5635, allocations: 1.303 MB / 0.9247 GB, free: 156 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.5635, allocations: 12.03 kB / 0.9247 GB, free: 144 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.5637, allocations: 118.7 kB / 0.9249 GB, free: 16 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00027/0.5639, allocations: 110.3 kB / 0.925 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009685/0.5649, allocations: 0.7294 MB / 0.9257 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.565, allocations: 50 kB / 0.9257 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/0.565, allocations: 68 kB / 0.9258 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.5661, allocations: 0.7682 MB / 0.9265 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.5661, allocations: 5.562 kB / 0.9265 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.576e-05/0.5662, allocations: 35.94 kB / 0.9266 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.5662, allocations: 16 kB / 0.9266 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.5674, allocations: 0.9728 MB / 0.9275 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.5703, allocations: 2.459 MB / 0.9299 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.5713, allocations: 0.6884 MB / 0.9306 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.5717, allocations: 251.2 kB / 0.9309 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/0.5718, allocations: 28.52 kB / 0.9309 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005793/0.5723, allocations: 422.3 kB / 0.9313 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=70): time 1.783e-06/0.5724, allocations: 0 / 0.9313 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=70): time 0.001326/0.5737, allocations: 0.842 MB / 0.9321 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/0.5738, allocations: 239.9 kB / 0.9323 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006448/0.5744, allocations: 0.6332 MB / 0.933 GB, free: 7.453 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.5745, allocations: 41.83 kB / 0.933 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.5747, allocations: 373 kB / 0.9334 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.5749, allocations: 234 kB / 0.9336 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.5751, allocations: 134.2 kB / 0.9337 GB, free: 6.668 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5752, allocations: 378.8 kB / 0.9341 GB, free: 6.289 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/0.5755, allocations: 205.2 kB / 0.9343 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.576, allocations: 321.9 kB / 0.9346 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/0.5767, allocations: 0.5042 MB / 0.9351 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5767, allocations: 0 / 0.9351 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009393/0.5776, allocations: 0.6451 MB / 0.9357 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.5777, allocations: 4 kB / 0.9357 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5777, allocations: 4 kB / 0.9357 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.5777, allocations: 4 kB / 0.9357 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.5782, allocations: 135.8 kB / 0.9358 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.5782, allocations: 4.266 kB / 0.9358 GB, free: 4.414 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000459/0.5786, allocations: 87.52 kB / 0.9359 GB, free: 4.328 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.5787, allocations: 23.98 kB / 0.9359 GB, free: 4.305 MB / 0.6856 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.0002814/0.579, allocations: 266.2 kB / 0.9362 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.5791, allocations: 83.47 kB / 0.9363 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.5805, allocations: 0.847 MB / 0.9371 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.5805, allocations: 8 kB / 0.9371 GB, free: 3.09 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5805, allocations: 4 kB / 0.9371 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.5805, allocations: 7.984 kB / 0.9371 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009409/0.5815, allocations: 0.9677 MB / 0.9381 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5815, allocations: 0 / 0.9381 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.5819, allocations: 127.8 kB / 0.9382 GB, free: 1.926 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.5819, allocations: 4 kB / 0.9382 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.582, allocations: 27.97 kB / 0.9382 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.582, allocations: 4 kB / 0.9382 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.582, allocations: 32 / 0.9382 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.583, allocations: 0.7436 MB / 0.9389 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.5833, allocations: 264.2 kB / 0.9392 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.5834, allocations: 17.12 kB / 0.9392 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004853/0.5839, allocations: 62.28 kB / 0.9393 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.584, allocations: 56.58 kB / 0.9393 GB, free: 0.7227 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.5841, allocations: 27.98 kB / 0.9394 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004814/0.5846, allocations: 467 kB / 0.9398 GB, free: 252 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5846, allocations: 0 / 0.9398 GB, free: 252 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005813/0.5852, allocations: 267.3 kB / 0.9401 GB, free: 15.98 MB / 0.7012 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.002352/0.5875, allocations: 1.798 MB / 0.9418 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008268/0.5884, allocations: 0.5483 MB / 0.9423 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5884, allocations: 0 / 0.9423 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.5888, allocations: 327.5 kB / 0.9427 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009523/0.5898, allocations: 265.4 kB / 0.9429 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0064/0.5962, allocations: 5.532 MB / 0.9483 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.5967, allocations: 0.9835 MB / 0.9493 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005768/0.5973, allocations: 254.2 kB / 0.9495 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/0.5977, allocations: 331.3 kB / 0.9498 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of SimCode: time 2.6e-07/0.5977, allocations: 3.938 kB / 0.9498 GB, free: 6 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03588/0.6336, allocations: 18.34 MB / 0.9677 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.508, allocations: 4.5 kB / 0.9678 GB, free: 3.949 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1)