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.001042/0.001042, 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.001065/0.001065, allocations: 195.6 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 287 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.95/0.95, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 98.47 kB / 0.5953 GB, free: 27.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1403, allocations: 86.99 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.005558/0.1459, allocations: 4.248 MB / 0.6844 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4075/0.5534, allocations: 150.5 MB / 0.8314 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006357/0.554, allocations: 20.31 kB / 0.8314 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004371/0.5545, allocations: 163 kB / 0.8316 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.5558, allocations: 496.5 kB / 0.8321 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.5572, allocations: 0.7482 MB / 0.8328 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009049/0.5581, allocations: 1.199 MB / 0.834 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005984/0.5587, allocations: 0.5078 MB / 0.8345 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00041/0.5591, allocations: 402.9 kB / 0.8349 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004093/0.5595, allocations: 423.2 kB / 0.8353 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.5597, allocations: 97.59 kB / 0.8354 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005965/0.5603, allocations: 377.5 kB / 0.8357 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.5605, allocations: 258.3 kB / 0.836 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.5608, allocations: 477.5 kB / 0.8364 GB, free: 224 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.562, allocations: 1.362 MB / 0.8377 GB, free: 16 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.562, allocations: 1.031 kB / 0.8377 GB, free: 16 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.283e-06/0.562, allocations: 0 / 0.8377 GB, free: 16 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.562, allocations: 0 / 0.8377 GB, free: 16 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.001992/0.564, allocations: 1.273 MB / 0.839 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.564, allocations: 9.875 kB / 0.839 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.5642, allocations: 115 kB / 0.8391 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/0.5645, allocations: 113.3 kB / 0.8392 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008421/0.5653, allocations: 0.6924 MB / 0.8399 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.5654, allocations: 51.41 kB / 0.8399 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.391e-05/0.5654, allocations: 67.44 kB / 0.84 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.5665, allocations: 0.7721 MB / 0.8408 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.5665, allocations: 3.938 kB / 0.8408 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.5666, allocations: 32.41 kB / 0.8408 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.5666, allocations: 20.14 kB / 0.8408 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.5679, allocations: 0.9745 MB / 0.8418 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002935/0.5708, allocations: 2.472 MB / 0.8442 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.5719, allocations: 0.6886 MB / 0.8448 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003449/0.5723, allocations: 255 kB / 0.8451 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.113e-05/0.5723, allocations: 29.59 kB / 0.8451 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006625/0.573, allocations: 427.8 kB / 0.8455 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 3.567e-06/0.573, allocations: 5.672 kB / 0.8455 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.001437/0.5745, allocations: 0.8329 MB / 0.8463 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.5746, allocations: 244.2 kB / 0.8466 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007232/0.5753, allocations: 0.6308 MB / 0.8472 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.5754, allocations: 38.77 kB / 0.8472 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.5757, allocations: 370.9 kB / 0.8476 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.5758, allocations: 225.8 kB / 0.8478 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.576, allocations: 137.1 kB / 0.8479 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5762, allocations: 383.2 kB / 0.8483 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.5765, allocations: 197.3 kB / 0.8485 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.5769, allocations: 327 kB / 0.8488 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007183/0.5777, allocations: 0.5062 MB / 0.8493 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5777, allocations: 0 / 0.8493 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001/0.5787, allocations: 0.6343 MB / 0.8499 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5787, allocations: 6.531 kB / 0.8499 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5787, allocations: 2.812 kB / 0.8499 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5787, allocations: 2.344 kB / 0.8499 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/0.5792, allocations: 135.1 kB / 0.8501 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.5792, allocations: 14.59 kB / 0.8501 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.5798, allocations: 81.02 kB / 0.8501 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.5798, allocations: 28.42 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.0003053/0.5801, allocations: 254.3 kB / 0.8504 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.5803, allocations: 76.81 kB / 0.8505 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.5817, allocations: 0.8527 MB / 0.8513 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5817, allocations: 8 kB / 0.8513 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5817, allocations: 3.938 kB / 0.8513 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5818, allocations: 7.984 kB / 0.8513 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009615/0.5827, allocations: 0.9669 MB / 0.8523 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.5827, allocations: 2.438 kB / 0.8523 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.5832, allocations: 125.9 kB / 0.8524 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5832, allocations: 9.375 kB / 0.8524 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.5832, allocations: 19.23 kB / 0.8524 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.5832, allocations: 3.312 kB / 0.8524 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5832, allocations: 0 / 0.8524 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.5843, allocations: 0.7465 MB / 0.8532 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.5846, allocations: 256.5 kB / 0.8534 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.5847, allocations: 21.38 kB / 0.8534 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005026/0.5852, allocations: 51.22 kB / 0.8535 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.5853, allocations: 68.05 kB / 0.8535 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.283e-05/0.5854, allocations: 32.73 kB / 0.8536 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005062/0.5859, allocations: 456.7 kB / 0.854 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5859, allocations: 0 / 0.854 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000708/0.5866, allocations: 265.4 kB / 0.8543 GB, free: 6.355 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.002522/0.5891, allocations: 1.793 MB / 0.856 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.5905, allocations: 0.7197 MB / 0.8567 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5906, allocations: 3.047 kB / 0.8567 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004628/0.591, allocations: 323.1 kB / 0.857 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.5921, allocations: 271.6 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.006728/0.5988, allocations: 5.703 MB / 0.8629 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.5993, allocations: 0.9816 MB / 0.8638 GB, free: 216 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007045/0.6, allocations: 246.4 kB / 0.8641 GB, free: 92 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/0.6005, allocations: 343.3 kB / 0.8644 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.6005, allocations: 0 / 0.8644 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.638, allocations: 18.17 MB / 0.8821 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.528/8.166, allocations: 21.92 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)