Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.OverAYear_usingOneYearData,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="BuildingSystems_BuildingSystems_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.001672/0.001672, allocations: 108 kB / 15.6 MB, free: 132 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.001954/0.001954, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002533/0.002533, allocations: 279 kB / 290.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.3 MB / 0.4982 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 97.98 kB / 0.5953 GB, free: 27.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.142, allocations: 86.98 MB / 0.6803 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.006372/0.1484, allocations: 4.249 MB / 0.6844 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4162/0.5646, allocations: 150.5 MB / 0.8314 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006454/0.5653, allocations: 15.31 kB / 0.8314 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.5659, allocations: 168.9 kB / 0.8316 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.5674, allocations: 490.4 kB / 0.8321 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.5689, allocations: 0.7481 MB / 0.8328 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.57, allocations: 1.202 MB / 0.834 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006161/0.5706, allocations: 0.51 MB / 0.8345 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004245/0.571, allocations: 401.5 kB / 0.8349 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.5715, allocations: 422.8 kB / 0.8353 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.5716, allocations: 97.78 kB / 0.8354 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000644/0.5723, allocations: 376.8 kB / 0.8357 GB, free: 448 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.5725, allocations: 257.5 kB / 0.836 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.5728, allocations: 482.5 kB / 0.8364 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.5739, allocations: 1.356 MB / 0.8377 GB, free: 48 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5739, allocations: 1.062 kB / 0.8377 GB, free: 48 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5739, allocations: 0 / 0.8377 GB, free: 48 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.5739, allocations: 0 / 0.8377 GB, free: 48 kB / 0.5606 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.002128/0.576, allocations: 1.278 MB / 0.839 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.5761, allocations: 13.84 kB / 0.839 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.5762, allocations: 115.7 kB / 0.8391 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003026/0.5765, allocations: 111.7 kB / 0.8392 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009115/0.5774, allocations: 0.6859 MB / 0.8399 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/0.5775, allocations: 54.22 kB / 0.8399 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.817e-05/0.5776, allocations: 70.56 kB / 0.84 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.5787, allocations: 0.7752 MB / 0.8408 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.5787, allocations: 1.375 kB / 0.8408 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.471e-05/0.5788, allocations: 27.31 kB / 0.8408 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.5788, allocations: 17.88 kB / 0.8408 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.5802, allocations: 0.9753 MB / 0.8418 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003423/0.5836, allocations: 2.482 MB / 0.8442 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.5848, allocations: 0.6891 MB / 0.8449 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/0.5852, allocations: 245.9 kB / 0.8451 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.311e-05/0.5853, allocations: 33.84 kB / 0.8451 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000684/0.586, allocations: 427.4 kB / 0.8455 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.285e-06/0.586, allocations: 0 / 0.8455 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.001535/0.5875, allocations: 0.8352 MB / 0.8464 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.5877, allocations: 240.3 kB / 0.8466 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007618/0.5884, allocations: 0.6274 MB / 0.8472 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.738e-05/0.5885, allocations: 43.02 kB / 0.8472 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.5888, allocations: 362.8 kB / 0.8476 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.5891, allocations: 233.1 kB / 0.8478 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.5893, allocations: 136.1 kB / 0.8479 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002232/0.5895, allocations: 384.4 kB / 0.8483 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.5898, allocations: 203.6 kB / 0.8485 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.5903, allocations: 331.8 kB / 0.8488 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007941/0.5911, allocations: 0.4902 MB / 0.8493 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5912, allocations: 0 / 0.8493 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001068/0.5922, allocations: 0.6423 MB / 0.8499 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.5923, allocations: 6.438 kB / 0.8499 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5923, allocations: 1.812 kB / 0.8499 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.5923, allocations: 3.219 kB / 0.8499 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.5928, allocations: 134.4 kB / 0.8501 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.5928, allocations: 9.562 kB / 0.8501 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/0.5934, allocations: 83.2 kB / 0.8501 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/0.5934, allocations: 28.11 kB / 0.8502 GB, free: 8.945 MB / 0.5762 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.0003495/0.5938, allocations: 252.7 kB / 0.8504 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.594, allocations: 80.39 kB / 0.8505 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.5955, allocations: 0.857 MB / 0.8513 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.5955, allocations: 7.531 kB / 0.8513 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5956, allocations: 3.938 kB / 0.8513 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.5956, allocations: 3.984 kB / 0.8513 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.5967, allocations: 0.9679 MB / 0.8523 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5967, allocations: 0 / 0.8523 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.5971, allocations: 124.8 kB / 0.8524 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.5971, allocations: 10.41 kB / 0.8524 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/0.5972, allocations: 23.75 kB / 0.8524 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.5972, allocations: 2.812 kB / 0.8524 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5972, allocations: 3.938 kB / 0.8524 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.5984, allocations: 0.7414 MB / 0.8532 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/0.5988, allocations: 258.5 kB / 0.8534 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.5989, allocations: 23.69 kB / 0.8534 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/0.5994, allocations: 51.41 kB / 0.8535 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.5996, allocations: 60.52 kB / 0.8535 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/0.5996, allocations: 27.64 kB / 0.8536 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005529/0.6002, allocations: 461.5 kB / 0.854 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.234e-06/0.6002, allocations: 0 / 0.854 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006895/0.6009, allocations: 267.7 kB / 0.8543 GB, free: 6.352 MB / 0.5762 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.003272/0.6042, allocations: 1.792 MB / 0.856 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001478/0.6057, allocations: 0.7234 MB / 0.8567 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6057, allocations: 2.75 kB / 0.8567 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004766/0.6062, allocations: 322.7 kB / 0.857 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.6073, allocations: 264.1 kB / 0.8573 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007679/0.615, allocations: 5.705 MB / 0.8629 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/0.6156, allocations: 0.9783 MB / 0.8638 GB, free: 220 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007247/0.6163, allocations: 246.6 kB / 0.8641 GB, free: 96 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000525/0.6169, allocations: 341.6 kB / 0.8644 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.6169, allocations: 0 / 0.8644 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04795/0.6648, allocations: 18.16 MB / 0.8821 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.854, allocations: 9.875 kB / 0.8821 GB, free: 1.828 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1)