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.001428/0.001428, allocations: 108 kB / 15.61 MB, free: 152 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.001594/0.001594, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.27/1.27, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 279 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9121/0.9121, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 97.36 kB / 0.5953 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1389, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005341/0.1443, allocations: 4.256 MB / 0.6844 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4055/0.5498, allocations: 150.5 MB / 0.8314 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006941/0.5506, allocations: 15.72 kB / 0.8314 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.551, allocations: 168.4 kB / 0.8316 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.5523, allocations: 499.4 kB / 0.8321 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.5537, allocations: 0.7445 MB / 0.8328 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008679/0.5546, allocations: 1.199 MB / 0.834 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005994/0.5552, allocations: 0.5119 MB / 0.8345 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.5556, allocations: 397.4 kB / 0.8348 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000441/0.556, allocations: 432.5 kB / 0.8353 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.5562, allocations: 97.12 kB / 0.8354 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005859/0.5568, allocations: 372.2 kB / 0.8357 GB, free: 480 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.557, allocations: 260.1 kB / 0.836 GB, free: 436 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.5573, allocations: 480.1 kB / 0.8364 GB, free: 284 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.5584, allocations: 1.36 MB / 0.8377 GB, free: 80 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5584, allocations: 3.562 kB / 0.8377 GB, free: 80 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5585, allocations: 0 / 0.8377 GB, free: 80 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.5585, allocations: 1.156 kB / 0.8377 GB, free: 80 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.001982/0.5605, allocations: 1.272 MB / 0.839 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.5605, allocations: 9.656 kB / 0.839 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.5606, allocations: 117.7 kB / 0.8391 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.5609, allocations: 111.4 kB / 0.8392 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008265/0.5618, allocations: 0.6953 MB / 0.8399 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.5618, allocations: 51.52 kB / 0.8399 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.716e-05/0.5619, allocations: 64.44 kB / 0.84 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.563, allocations: 0.7729 MB / 0.8408 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.563, allocations: 1.375 kB / 0.8408 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.814e-05/0.5631, allocations: 31.72 kB / 0.8408 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.5631, allocations: 16.5 kB / 0.8408 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.5644, allocations: 0.9701 MB / 0.8418 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003093/0.5675, allocations: 2.488 MB / 0.8442 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.5686, allocations: 0.6845 MB / 0.8449 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000353/0.569, allocations: 247.9 kB / 0.8451 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.167e-05/0.5691, allocations: 31.56 kB / 0.8451 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006402/0.5697, allocations: 431.7 kB / 0.8455 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.134e-06/0.5697, allocations: 0 / 0.8455 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.001378/0.5711, allocations: 0.8266 MB / 0.8463 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.5712, allocations: 249.7 kB / 0.8466 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006609/0.5719, allocations: 0.6234 MB / 0.8472 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.572, allocations: 47.12 kB / 0.8472 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.5722, allocations: 369.7 kB / 0.8476 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.5724, allocations: 226.9 kB / 0.8478 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.5726, allocations: 136.5 kB / 0.8479 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.5727, allocations: 383.6 kB / 0.8483 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/0.573, allocations: 199.2 kB / 0.8485 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.5735, allocations: 331 kB / 0.8488 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006978/0.5742, allocations: 0.4962 MB / 0.8493 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5742, allocations: 0 / 0.8493 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009643/0.5752, allocations: 0.6378 MB / 0.8499 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.5752, allocations: 7.062 kB / 0.8499 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5752, allocations: 3.75 kB / 0.8499 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.5752, allocations: 4.875 kB / 0.8499 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.5757, allocations: 135.1 kB / 0.8501 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.5757, allocations: 6.469 kB / 0.8501 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.5762, allocations: 85.17 kB / 0.8501 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.5763, allocations: 33.47 kB / 0.8502 GB, free: 8.953 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.0002888/0.5766, allocations: 254.5 kB / 0.8504 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.5767, allocations: 83.22 kB / 0.8505 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.5781, allocations: 0.8459 MB / 0.8513 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.5782, allocations: 6.844 kB / 0.8513 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5782, allocations: 3.938 kB / 0.8513 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.5782, allocations: 11.11 kB / 0.8513 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009441/0.5791, allocations: 0.9705 MB / 0.8523 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5791, allocations: 0 / 0.8523 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004139/0.5796, allocations: 120.8 kB / 0.8524 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.5796, allocations: 10.58 kB / 0.8524 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.5796, allocations: 19.98 kB / 0.8524 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.5796, allocations: 6.594 kB / 0.8524 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5796, allocations: 0 / 0.8524 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.5807, allocations: 0.7358 MB / 0.8532 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/0.581, allocations: 262.5 kB / 0.8534 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.5811, allocations: 20.84 kB / 0.8534 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005112/0.5816, allocations: 50.75 kB / 0.8535 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.5817, allocations: 66.67 kB / 0.8535 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.311e-05/0.5818, allocations: 34 kB / 0.8536 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000478/0.5823, allocations: 453 kB / 0.854 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5823, allocations: 0 / 0.854 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000644/0.5829, allocations: 265.1 kB / 0.8543 GB, free: 6.367 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.002391/0.5853, allocations: 1.793 MB / 0.856 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.5867, allocations: 0.7237 MB / 0.8567 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5867, allocations: 0 / 0.8567 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.5871, allocations: 327.6 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.001015/0.5881, allocations: 270 kB / 0.8573 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006647/0.5948, allocations: 5.702 MB / 0.8629 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.5953, allocations: 0.9773 MB / 0.8638 GB, free: 228 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006635/0.596, allocations: 252.5 kB / 0.864 GB, free: 96 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/0.5964, allocations: 337.6 kB / 0.8644 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.5964, allocations: 0 / 0.8644 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0359/0.6323, allocations: 18.16 MB / 0.8821 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.5/8.132, allocations: 12.12 kB / 0.8821 GB, free: 1.816 MB / 0.5919 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)