Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_9_Buildings_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.001273/0.001273, 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.001195/0.001195, allocations: 192.7 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.206/1.206, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.104/2.104, allocations: 390.3 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 68.09 kB / 0.8126 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5128/0.5141, allocations: 140.4 MB / 0.9497 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.004473/0.5186, allocations: 4.254 MB / 0.9539 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1361/0.6547, allocations: 150.5 MB / 1.101 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007223/0.6554, allocations: 19.88 kB / 1.101 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005663/0.656, allocations: 170.5 kB / 1.101 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.6577, allocations: 491.7 kB / 1.102 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.6594, allocations: 0.7403 MB / 1.102 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.6606, allocations: 1.199 MB / 1.103 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007013/0.6613, allocations: 0.51 MB / 1.104 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004967/0.6618, allocations: 398.6 kB / 1.104 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005222/0.6623, allocations: 422.1 kB / 1.105 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.6625, allocations: 103.9 kB / 1.105 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006466/0.6632, allocations: 379.7 kB / 1.105 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.6634, allocations: 251.2 kB / 1.105 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004189/0.6638, allocations: 485.5 kB / 1.106 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.6652, allocations: 1.359 MB / 1.107 GB, free: 44 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.6652, allocations: 0 / 1.107 GB, free: 44 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6652, allocations: 0 / 1.107 GB, free: 44 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.463e-05/0.6653, allocations: 0 / 1.107 GB, free: 44 kB / 0.8575 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.002243/0.6675, allocations: 1.269 MB / 1.108 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.6676, allocations: 12.02 kB / 1.108 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.6677, allocations: 114.7 kB / 1.109 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.668, allocations: 103.7 kB / 1.109 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000883/0.6689, allocations: 0.7031 MB / 1.109 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/0.6689, allocations: 50 kB / 1.109 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.602e-05/0.669, allocations: 67.98 kB / 1.109 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.6701, allocations: 0.7682 MB / 1.11 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.6702, allocations: 4 kB / 1.11 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.6702, allocations: 28 kB / 1.11 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.6702, allocations: 19.94 kB / 1.11 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.6715, allocations: 0.9689 MB / 1.111 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/0.6745, allocations: 2.49 MB / 1.114 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.6756, allocations: 0.6815 MB / 1.114 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.6759, allocations: 251.3 kB / 1.115 GB, free: 8.254 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.74e-05/0.676, allocations: 28.52 kB / 1.115 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006053/0.6766, allocations: 431.5 kB / 1.115 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.395e-06/0.6766, allocations: 0 / 1.115 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001344/0.678, allocations: 0.8376 MB / 1.116 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/0.6781, allocations: 247.8 kB / 1.116 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/0.6787, allocations: 0.6253 MB / 1.117 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/0.6788, allocations: 45.7 kB / 1.117 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.6791, allocations: 360.6 kB / 1.117 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.6792, allocations: 228.7 kB / 1.117 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.6794, allocations: 138.2 kB / 1.117 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6795, allocations: 382.8 kB / 1.118 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.6798, allocations: 197.2 kB / 1.118 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.6803, allocations: 329.4 kB / 1.118 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006921/0.681, allocations: 0.4978 MB / 1.119 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.681, allocations: 4 kB / 1.119 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.000959/0.6819, allocations: 0.6292 MB / 1.119 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.682, allocations: 8 kB / 1.119 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.682, allocations: 112 / 1.119 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.682, allocations: 15.86 kB / 1.119 GB, free: 3.125 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.6824, allocations: 135.8 kB / 1.12 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.6825, allocations: 7.984 kB / 1.12 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/0.683, allocations: 84.41 kB / 1.12 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.683, allocations: 27.98 kB / 1.12 GB, free: 2.875 MB / 0.8731 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.0002766/0.6833, allocations: 253.6 kB / 1.12 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.6834, allocations: 82.97 kB / 1.12 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.6848, allocations: 0.8486 MB / 1.121 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.6848, allocations: 19.92 kB / 1.121 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6848, allocations: 0 / 1.121 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.6849, allocations: 3.984 kB / 1.121 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009266/0.6858, allocations: 0.9676 MB / 1.122 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.6858, allocations: 4 kB / 1.122 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.6862, allocations: 127.8 kB / 1.122 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.6862, allocations: 0 / 1.122 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.6863, allocations: 19.98 kB / 1.122 GB, free: 488 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.6863, allocations: 4 kB / 1.122 GB, free: 484 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6863, allocations: 0 / 1.122 GB, free: 484 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.6873, allocations: 0.7432 MB / 1.123 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/0.6876, allocations: 263.8 kB / 1.123 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.6877, allocations: 19.98 kB / 1.123 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/0.6882, allocations: 53.5 kB / 1.123 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.6883, allocations: 60.56 kB / 1.123 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.814e-05/0.6883, allocations: 27.98 kB / 1.123 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004694/0.6888, allocations: 459 kB / 1.123 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6888, allocations: 4 kB / 1.123 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005961/0.6894, allocations: 259.5 kB / 1.124 GB, free: 14.57 MB / 0.8887 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.002333/0.6918, allocations: 1.791 MB / 1.125 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.6931, allocations: 0.7238 MB / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6931, allocations: 0 / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.6935, allocations: 323.6 kB / 1.126 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009504/0.6945, allocations: 272.6 kB / 1.127 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006519/0.701, allocations: 5.703 MB / 1.132 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.7015, allocations: 0.9718 MB / 1.133 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006451/0.7021, allocations: 246.3 kB / 1.133 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/0.7025, allocations: 335.3 kB / 1.134 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of SimCode: time 2.2e-07/0.7025, allocations: 0 / 1.134 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03517/0.7377, allocations: 18.17 MB / 1.152 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.07/7.808, allocations: 11.08 kB / 1.152 GB, free: 2.402 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.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 Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1)