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.004578/0.004578, allocations: 101.1 kB / 15.73 MB, free: 6.023 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.00127/0.00127, allocations: 195.6 kB / 16.67 MB, free: 5.934 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002512/0.002512, allocations: 292.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9779/0.9779, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 99.83 kB / 0.6809 GB, free: 7.496 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4014, allocations: 86.96 MB / 0.7659 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005945/0.4074, allocations: 4.264 MB / 0.77 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1681/0.5755, allocations: 150.5 MB / 0.917 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006099/0.5762, allocations: 19.88 kB / 0.9171 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.5767, allocations: 166.5 kB / 0.9172 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.5782, allocations: 0.4901 MB / 0.9177 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.5798, allocations: 0.7446 MB / 0.9184 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001303/0.5811, allocations: 1.203 MB / 0.9196 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007469/0.5819, allocations: 0.5101 MB / 0.9201 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005081/0.5824, allocations: 406.5 kB / 0.9205 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005436/0.583, allocations: 422.1 kB / 0.9209 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.5831, allocations: 96 kB / 0.921 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007191/0.5839, allocations: 399.6 kB / 0.9214 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.5841, allocations: 259.2 kB / 0.9216 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004819/0.5846, allocations: 477.5 kB / 0.9221 GB, free: 3.32 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.5863, allocations: 1.41 MB / 0.9234 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5863, allocations: 0 / 0.9234 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5863, allocations: 4 kB / 0.9234 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.5863, allocations: 0 / 0.9234 GB, free: 1.906 MB / 0.6856 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.002249/0.5886, allocations: 1.307 MB / 0.9247 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.5886, allocations: 16.02 kB / 0.9247 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.5888, allocations: 114.7 kB / 0.9248 GB, free: 416 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003094/0.5891, allocations: 112.3 kB / 0.9249 GB, free: 304 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.5902, allocations: 0.7193 MB / 0.9256 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.908e-05/0.5903, allocations: 50 kB / 0.9257 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.791e-05/0.5904, allocations: 68 kB / 0.9258 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.5917, allocations: 0.7753 MB / 0.9265 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.5917, allocations: 7.938 kB / 0.9265 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-05/0.5918, allocations: 32 kB / 0.9266 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.5918, allocations: 16 kB / 0.9266 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.5934, allocations: 0.9728 MB / 0.9275 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003553/0.597, allocations: 2.451 MB / 0.9299 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.5982, allocations: 0.6873 MB / 0.9306 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.5986, allocations: 263.2 kB / 0.9308 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.327e-05/0.5987, allocations: 24.53 kB / 0.9309 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007122/0.5994, allocations: 426.2 kB / 0.9313 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 2.124e-06/0.5994, allocations: 0 / 0.9313 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.001573/0.601, allocations: 0.8381 MB / 0.9321 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.6012, allocations: 251.8 kB / 0.9323 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000822/0.602, allocations: 0.6295 MB / 0.9329 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.541e-05/0.6021, allocations: 49.58 kB / 0.933 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.6025, allocations: 365 kB / 0.9333 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.6027, allocations: 242 kB / 0.9336 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.6029, allocations: 138.2 kB / 0.9337 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.6031, allocations: 382.8 kB / 0.9341 GB, free: 6.66 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/0.6035, allocations: 197.2 kB / 0.9342 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/0.604, allocations: 325.4 kB / 0.9346 GB, free: 6.109 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008938/0.6049, allocations: 0.5016 MB / 0.935 GB, free: 5.59 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6049, allocations: 0 / 0.935 GB, free: 5.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001123/0.6061, allocations: 0.6335 MB / 0.9357 GB, free: 4.949 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.6061, allocations: 4 kB / 0.9357 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6061, allocations: 0 / 0.9357 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.6061, allocations: 4 kB / 0.9357 GB, free: 4.941 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/0.6067, allocations: 143.9 kB / 0.9358 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.6067, allocations: 8 kB / 0.9358 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.6072, allocations: 75.58 kB / 0.9359 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/0.6073, allocations: 35.97 kB / 0.9359 GB, free: 4.684 MB / 0.7012 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.0003582/0.6076, allocations: 252 kB / 0.9362 GB, free: 4.43 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.6078, allocations: 87.44 kB / 0.9363 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.6095, allocations: 0.8448 MB / 0.9371 GB, free: 3.484 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.6095, allocations: 15.94 kB / 0.9371 GB, free: 3.469 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6095, allocations: 0 / 0.9371 GB, free: 3.469 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.6095, allocations: 3.984 kB / 0.9371 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.6107, allocations: 0.9678 MB / 0.938 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6108, allocations: 4 kB / 0.938 GB, free: 2.434 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.6112, allocations: 127.8 kB / 0.9382 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.6112, allocations: 0 / 0.9382 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-05/0.6113, allocations: 27.97 kB / 0.9382 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.6113, allocations: 4 kB / 0.9382 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6113, allocations: 4.031 kB / 0.9382 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.6126, allocations: 0.7398 MB / 0.9389 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/0.613, allocations: 268.2 kB / 0.9392 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.6131, allocations: 12 kB / 0.9392 GB, free: 1.223 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/0.6136, allocations: 63.88 kB / 0.9393 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.6137, allocations: 60.56 kB / 0.9393 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/0.6138, allocations: 27.98 kB / 0.9393 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005893/0.6144, allocations: 463 kB / 0.9398 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6144, allocations: 0 / 0.9398 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007065/0.6151, allocations: 263.3 kB / 0.94 GB, free: 380 kB / 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.003396/0.6185, allocations: 1.79 MB / 0.9418 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000999/0.6195, allocations: 0.5483 MB / 0.9423 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6195, allocations: 3.938 kB / 0.9423 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.6201, allocations: 323.9 kB / 0.9426 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.6211, allocations: 279.4 kB / 0.9429 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007863/0.629, allocations: 5.531 MB / 0.9483 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/0.6296, allocations: 0.9757 MB / 0.9492 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006916/0.6303, allocations: 246.3 kB / 0.9495 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004969/0.6308, allocations: 331.3 kB / 0.9498 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of SimCode: time 4.6e-07/0.6309, allocations: 0 / 0.9498 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.323/0.9538, allocations: 18.35 MB / 0.9677 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.063/10.02, allocations: 4.562 kB / 0.9677 GB, free: 185.7 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)