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.001837/0.001838, allocations: 104 kB / 15.6 MB, free: 148 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.001244/0.001244, allocations: 196.4 kB / 16.53 MB, free: 6.691 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002565/0.002565, allocations: 290.5 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.171/1.171, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003138/0.003139, allocations: 97.56 kB / 0.6065 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1554, allocations: 89.14 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006788/0.1622, allocations: 4.529 MB / 0.698 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4472/0.6094, allocations: 150.5 MB / 0.845 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00065/0.6101, allocations: 18.94 kB / 0.845 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004926/0.6106, allocations: 169.6 kB / 0.8452 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.6121, allocations: 0.5067 MB / 0.8457 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.6138, allocations: 0.752 MB / 0.8464 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.615, allocations: 1.245 MB / 0.8477 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006724/0.6157, allocations: 497.2 kB / 0.8481 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004907/0.6162, allocations: 410 kB / 0.8485 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005468/0.6168, allocations: 434.2 kB / 0.8489 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.6169, allocations: 99.97 kB / 0.849 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00059/0.6175, allocations: 370.9 kB / 0.8494 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.6177, allocations: 265.6 kB / 0.8496 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004256/0.6182, allocations: 487.2 kB / 0.8501 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.6196, allocations: 1.371 MB / 0.8514 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6196, allocations: 0 / 0.8514 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6196, allocations: 6.406 kB / 0.8514 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.6196, allocations: 0 / 0.8514 GB, free: 3.297 MB / 0.5762 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.002091/0.6217, allocations: 1.273 MB / 0.8527 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.6218, allocations: 9.656 kB / 0.8527 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.6219, allocations: 114.9 kB / 0.8528 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000276/0.6222, allocations: 106.2 kB / 0.8529 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009661/0.6232, allocations: 0.6965 MB / 0.8536 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/0.6233, allocations: 55.52 kB / 0.8536 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.312e-05/0.6233, allocations: 71.16 kB / 0.8537 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.6245, allocations: 0.77 MB / 0.8545 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.6246, allocations: 2.469 kB / 0.8545 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.841e-05/0.6246, allocations: 31.88 kB / 0.8545 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.6247, allocations: 17 kB / 0.8545 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.626, allocations: 0.9696 MB / 0.8555 GB, free: 484 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003303/0.6293, allocations: 2.49 MB / 0.8579 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.6304, allocations: 0.686 MB / 0.8586 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.6308, allocations: 261.4 kB / 0.8588 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-05/0.6309, allocations: 25.36 kB / 0.8588 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006877/0.6316, allocations: 417.7 kB / 0.8592 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 1.824e-06/0.6316, allocations: 0 / 0.8592 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001489/0.6331, allocations: 0.8354 MB / 0.86 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.6332, allocations: 241.4 kB / 0.8603 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007638/0.634, allocations: 0.6356 MB / 0.8609 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/0.6341, allocations: 38.27 kB / 0.8609 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.6344, allocations: 367.4 kB / 0.8613 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.6346, allocations: 229 kB / 0.8615 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.6348, allocations: 131.9 kB / 0.8616 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.635, allocations: 380.6 kB / 0.862 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.6354, allocations: 205.9 kB / 0.8622 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.6358, allocations: 323.3 kB / 0.8625 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007703/0.6366, allocations: 0.4957 MB / 0.863 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.6366, allocations: 0 / 0.863 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001028/0.6377, allocations: 0.6398 MB / 0.8636 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.6377, allocations: 6.688 kB / 0.8636 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6377, allocations: 0 / 0.8636 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.6377, allocations: 5.656 kB / 0.8636 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.6382, allocations: 138.8 kB / 0.8637 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.6382, allocations: 10.62 kB / 0.8638 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.6388, allocations: 86.38 kB / 0.8638 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/0.6388, allocations: 31.73 kB / 0.8639 GB, free: 10.55 MB / 0.5919 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.0003215/0.6391, allocations: 251.2 kB / 0.8641 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.6393, allocations: 76.59 kB / 0.8642 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.6408, allocations: 0.856 MB / 0.865 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.6408, allocations: 7.812 kB / 0.865 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.6409, allocations: 6.719 kB / 0.865 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.6409, allocations: 3.984 kB / 0.865 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.642, allocations: 0.9707 MB / 0.866 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.642, allocations: 2.75 kB / 0.866 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.6424, allocations: 123.1 kB / 0.8661 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.6424, allocations: 6.031 kB / 0.8661 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-05/0.6425, allocations: 23.95 kB / 0.8661 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-06/0.6425, allocations: 13.02 kB / 0.8661 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6425, allocations: 0 / 0.8661 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.6436, allocations: 0.7307 MB / 0.8669 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/0.6439, allocations: 260.1 kB / 0.8671 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.6441, allocations: 25.61 kB / 0.8671 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/0.6446, allocations: 55.53 kB / 0.8672 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.6447, allocations: 62.89 kB / 0.8672 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.6448, allocations: 28.08 kB / 0.8673 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005213/0.6453, allocations: 460.6 kB / 0.8677 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.41e-07/0.6453, allocations: 4 kB / 0.8677 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006415/0.6459, allocations: 267.1 kB / 0.868 GB, free: 7.941 MB / 0.5919 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.003133/0.6491, allocations: 1.782 MB / 0.8697 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.6507, allocations: 0.7276 MB / 0.8704 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6507, allocations: 0 / 0.8704 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.6512, allocations: 327.6 kB / 0.8707 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.6523, allocations: 273.5 kB / 0.871 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008155/0.6605, allocations: 5.721 MB / 0.8766 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.6611, allocations: 0.9719 MB / 0.8775 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007356/0.6619, allocations: 258.2 kB / 0.8778 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/0.6624, allocations: 331.3 kB / 0.8781 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.6624, allocations: 0 / 0.8781 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04675/0.7091, allocations: 18.53 MB / 0.8962 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.356/9.065, allocations: 4.375 kB / 0.8962 GB, free: 11.86 MB / 0.6231 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)