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.004995/0.004995, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.212/1.212, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001938/0.001938, allocations: 290.5 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8708/0.8708, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 103.8 kB / 0.681 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1345, allocations: 86.97 MB / 0.7659 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.005224/0.1398, allocations: 4.257 MB / 0.77 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4257/0.5654, allocations: 150.5 MB / 0.917 GB, free: 8.172 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006006/0.5661, allocations: 19.88 kB / 0.9171 GB, free: 8.152 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.5666, allocations: 164.7 kB / 0.9172 GB, free: 7.992 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.5681, allocations: 0.4921 MB / 0.9177 GB, free: 7.516 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.5697, allocations: 0.7498 MB / 0.9184 GB, free: 6.789 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001184/0.5709, allocations: 1.207 MB / 0.9196 GB, free: 5.578 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006792/0.5716, allocations: 0.499 MB / 0.9201 GB, free: 5.066 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004912/0.5721, allocations: 414.5 kB / 0.9205 GB, free: 4.66 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005045/0.5726, allocations: 422.1 kB / 0.9209 GB, free: 4.246 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.5727, allocations: 100 kB / 0.921 GB, free: 4.148 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006257/0.5734, allocations: 399.6 kB / 0.9214 GB, free: 3.758 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.5736, allocations: 255.2 kB / 0.9216 GB, free: 3.508 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004231/0.574, allocations: 489.4 kB / 0.9221 GB, free: 3.027 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.5755, allocations: 1.395 MB / 0.9234 GB, free: 1.637 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/0.5756, allocations: 4.562 kB / 0.9235 GB, free: 1.633 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.504e-06/0.5756, allocations: 3.938 kB / 0.9235 GB, free: 1.629 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.252e-05/0.5756, allocations: 3.938 kB / 0.9235 GB, free: 1.625 MB / 0.67 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.002068/0.5777, allocations: 1.311 MB / 0.9247 GB, free: 264 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.5777, allocations: 8.031 kB / 0.9247 GB, free: 256 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.5778, allocations: 118.6 kB / 0.9249 GB, free: 128 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/0.5781, allocations: 116 kB / 0.925 GB, free: 16 kB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009602/0.5791, allocations: 0.7159 MB / 0.9257 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.5791, allocations: 57.94 kB / 0.9257 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.222e-05/0.5792, allocations: 64 kB / 0.9258 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.5803, allocations: 0.7682 MB / 0.9265 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.5803, allocations: 0 / 0.9265 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-05/0.5804, allocations: 35.98 kB / 0.9266 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.5804, allocations: 20 kB / 0.9266 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.5816, allocations: 0.9696 MB / 0.9275 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/0.5845, allocations: 2.466 MB / 0.9299 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.5856, allocations: 0.6846 MB / 0.9306 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/0.586, allocations: 253.1 kB / 0.9309 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.994e-05/0.586, allocations: 32.5 kB / 0.9309 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005923/0.5866, allocations: 424.9 kB / 0.9313 GB, free: 9.344 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=70): time 1.964e-06/0.5867, allocations: 4 kB / 0.9313 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of matching and sorting (n=70): time 0.001379/0.588, allocations: 0.8343 MB / 0.9321 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.5882, allocations: 252 kB / 0.9324 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006849/0.5889, allocations: 0.6254 MB / 0.933 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.582e-05/0.5889, allocations: 37.7 kB / 0.933 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.5892, allocations: 377 kB / 0.9334 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.5893, allocations: 238 kB / 0.9336 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.5895, allocations: 134.2 kB / 0.9337 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.5897, allocations: 386.8 kB / 0.9341 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.59, allocations: 201.2 kB / 0.9343 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.5905, allocations: 321.4 kB / 0.9346 GB, free: 5.84 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007291/0.5912, allocations: 0.5016 MB / 0.9351 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5912, allocations: 0 / 0.9351 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009937/0.5922, allocations: 0.6435 MB / 0.9357 GB, free: 4.672 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.5923, allocations: 4 kB / 0.9357 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5923, allocations: 4 kB / 0.9357 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5923, allocations: 8.156 kB / 0.9357 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.5928, allocations: 131.8 kB / 0.9358 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.5928, allocations: 7.938 kB / 0.9358 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.5932, allocations: 82.33 kB / 0.9359 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/0.5933, allocations: 32.09 kB / 0.936 GB, free: 4.41 MB / 0.6856 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.0002994/0.5936, allocations: 258.2 kB / 0.9362 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.5938, allocations: 87.44 kB / 0.9363 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.5952, allocations: 0.8452 MB / 0.9371 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.5952, allocations: 8 kB / 0.9371 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5952, allocations: 10.75 kB / 0.9371 GB, free: 3.195 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.5952, allocations: 3.984 kB / 0.9371 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009802/0.5962, allocations: 0.9716 MB / 0.9381 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.5962, allocations: 0 / 0.9381 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.5966, allocations: 123.8 kB / 0.9382 GB, free: 2.039 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-05/0.5967, allocations: 7.938 kB / 0.9382 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/0.5967, allocations: 28.02 kB / 0.9382 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.5967, allocations: 4 kB / 0.9382 GB, free: 2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5967, allocations: 0 / 0.9382 GB, free: 2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.5978, allocations: 0.7359 MB / 0.939 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.5981, allocations: 264.2 kB / 0.9392 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.5982, allocations: 19.94 kB / 0.9392 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/0.5987, allocations: 55.94 kB / 0.9393 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.5988, allocations: 60.58 kB / 0.9393 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/0.5989, allocations: 35.97 kB / 0.9394 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000504/0.5994, allocations: 451 kB / 0.9398 GB, free: 376 kB / 0.6856 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5994, allocations: 0 / 0.9398 GB, free: 376 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006306/0.6, allocations: 267.3 kB / 0.9401 GB, free: 108 kB / 0.6856 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.002623/0.6026, allocations: 1.79 MB / 0.9418 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008724/0.6035, allocations: 0.5482 MB / 0.9423 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.6035, allocations: 8.188 kB / 0.9423 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.604, allocations: 327.6 kB / 0.9427 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009635/0.605, allocations: 274.6 kB / 0.9429 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007496/0.6125, allocations: 5.529 MB / 0.9483 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.6131, allocations: 0.9796 MB / 0.9493 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000663/0.6137, allocations: 250.2 kB / 0.9495 GB, free: 6.449 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/0.6142, allocations: 335.2 kB / 0.9498 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of SimCode: time 5.11e-07/0.6142, allocations: 0 / 0.9498 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03695/0.6512, allocations: 18.37 MB / 0.9678 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.496, allocations: 13.19 kB / 0.9678 GB, free: 4.059 MB / 0.7169 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)