Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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_usingTwoYearDataNegativeStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",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.001072/0.001072, 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.001035/0.001035, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002157/0.002157, allocations: 291 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9431/0.9431, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 92.86 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.129, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.00548/0.1345, allocations: 4.258 MB / 0.6844 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4168/0.5513, allocations: 150.5 MB / 0.8314 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006129/0.552, allocations: 15.06 kB / 0.8314 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004787/0.5525, allocations: 171.2 kB / 0.8316 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.5537, allocations: 499.7 kB / 0.8321 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.5551, allocations: 0.7442 MB / 0.8328 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008387/0.5559, allocations: 1.203 MB / 0.834 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006082/0.5566, allocations: 0.5067 MB / 0.8345 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003646/0.5569, allocations: 404.6 kB / 0.8349 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003972/0.5573, allocations: 418.8 kB / 0.8353 GB, free: 484 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.5575, allocations: 99.53 kB / 0.8354 GB, free: 484 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005845/0.5581, allocations: 376.6 kB / 0.8357 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.5583, allocations: 256.9 kB / 0.836 GB, free: 436 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003198/0.5586, allocations: 481.8 kB / 0.8364 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.5597, allocations: 1.361 MB / 0.8378 GB, free: 76 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5597, allocations: 7.5 kB / 0.8378 GB, free: 72 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5597, allocations: 1.875 kB / 0.8378 GB, free: 72 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.5598, allocations: 0 / 0.8378 GB, free: 72 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.001962/0.5617, allocations: 1.267 MB / 0.839 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.5618, allocations: 9.094 kB / 0.839 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/0.5619, allocations: 118.1 kB / 0.8391 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/0.5622, allocations: 115.2 kB / 0.8392 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008294/0.563, allocations: 0.6883 MB / 0.8399 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.5631, allocations: 49.69 kB / 0.84 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.786e-05/0.5632, allocations: 65.97 kB / 0.84 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.5642, allocations: 0.7767 MB / 0.8408 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.5642, allocations: 5.375 kB / 0.8408 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-05/0.5643, allocations: 29.61 kB / 0.8408 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.5643, allocations: 17.88 kB / 0.8408 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.5656, allocations: 0.9702 MB / 0.8418 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/0.5685, allocations: 2.489 MB / 0.8442 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.5696, allocations: 0.6855 MB / 0.8449 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/0.5699, allocations: 249.1 kB / 0.8451 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-05/0.57, allocations: 31.86 kB / 0.8451 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006435/0.5707, allocations: 424.1 kB / 0.8455 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 1.903e-06/0.5707, allocations: 3.75 kB / 0.8455 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.001375/0.5721, allocations: 0.8335 MB / 0.8464 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.5722, allocations: 245 kB / 0.8466 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006786/0.5729, allocations: 0.6244 MB / 0.8472 GB, free: 11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.5729, allocations: 41.64 kB / 0.8472 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.5732, allocations: 368.3 kB / 0.8476 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.5734, allocations: 222.2 kB / 0.8478 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.5736, allocations: 136.5 kB / 0.8479 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5737, allocations: 387.9 kB / 0.8483 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.574, allocations: 202 kB / 0.8485 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.5745, allocations: 327.5 kB / 0.8488 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007362/0.5752, allocations: 0.4963 MB / 0.8493 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5752, allocations: 0 / 0.8493 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009658/0.5762, allocations: 0.6387 MB / 0.8499 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.5762, allocations: 9.75 kB / 0.8499 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5762, allocations: 2.094 kB / 0.8499 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.5762, allocations: 2.781 kB / 0.8499 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/0.5767, allocations: 134.8 kB / 0.8501 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.5767, allocations: 12.28 kB / 0.8501 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.5772, allocations: 79.83 kB / 0.8502 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.5773, allocations: 27.86 kB / 0.8502 GB, free: 8.961 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.000303/0.5776, allocations: 260.5 kB / 0.8504 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.5777, allocations: 78.94 kB / 0.8505 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.5792, allocations: 0.8444 MB / 0.8513 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.5792, allocations: 14.33 kB / 0.8513 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5792, allocations: 4.812 kB / 0.8513 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.5793, allocations: 3.984 kB / 0.8513 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009513/0.5802, allocations: 0.9743 MB / 0.8523 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5802, allocations: 0 / 0.8523 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/0.5806, allocations: 120.5 kB / 0.8524 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.5807, allocations: 11.47 kB / 0.8524 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.5807, allocations: 27.22 kB / 0.8525 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.5807, allocations: 6.562 kB / 0.8525 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5807, allocations: 0 / 0.8525 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.5818, allocations: 0.7299 MB / 0.8532 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.582, allocations: 261.2 kB / 0.8534 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.5822, allocations: 20.75 kB / 0.8534 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.5827, allocations: 63.02 kB / 0.8535 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.5828, allocations: 61.27 kB / 0.8536 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.304e-05/0.5829, allocations: 32.69 kB / 0.8536 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004843/0.5833, allocations: 459.3 kB / 0.854 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5834, allocations: 0 / 0.854 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006473/0.584, allocations: 267.5 kB / 0.8543 GB, free: 6.363 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.00248/0.5865, allocations: 1.787 MB / 0.856 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.5878, allocations: 0.7238 MB / 0.8567 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5878, allocations: 7.266 kB / 0.8567 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004336/0.5883, allocations: 323.3 kB / 0.857 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.5893, allocations: 251.2 kB / 0.8573 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006533/0.5958, allocations: 5.707 MB / 0.8629 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.5963, allocations: 0.9767 MB / 0.8638 GB, free: 240 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006586/0.597, allocations: 258.5 kB / 0.8641 GB, free: 104 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/0.5975, allocations: 342.9 kB / 0.8644 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.5975, allocations: 0 / 0.8644 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0619/0.6594, allocations: 18.19 MB / 0.8822 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.572/8.232, allocations: 3.938 kB / 0.8822 GB, free: 1.848 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.csv --start-time -4.71744e+07 --stop-time 4.74336e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 37843.2 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1)