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.005412/0.005412, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001384/0.001384, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002472/0.002472, allocations: 278.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9911/0.9911, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 103.8 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1574, allocations: 86.97 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006135/0.1636, allocations: 4.27 MB / 0.7701 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4574/0.621, allocations: 150.5 MB / 0.9171 GB, free: 8.113 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006531/0.6217, allocations: 15.94 kB / 0.9171 GB, free: 8.098 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006649/0.6224, allocations: 172.4 kB / 0.9172 GB, free: 7.93 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.6241, allocations: 490.4 kB / 0.9177 GB, free: 7.469 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.6258, allocations: 0.7481 MB / 0.9184 GB, free: 6.742 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001359/0.6272, allocations: 1.206 MB / 0.9196 GB, free: 5.535 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007643/0.628, allocations: 0.5114 MB / 0.9201 GB, free: 5.012 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005132/0.6285, allocations: 406.6 kB / 0.9205 GB, free: 4.613 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005683/0.6291, allocations: 424.8 kB / 0.9209 GB, free: 4.199 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.6292, allocations: 100 kB / 0.921 GB, free: 4.102 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007316/0.63, allocations: 403.6 kB / 0.9214 GB, free: 3.707 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.6303, allocations: 251.2 kB / 0.9216 GB, free: 3.461 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004673/0.6307, allocations: 481.5 kB / 0.9221 GB, free: 2.988 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.6324, allocations: 1.398 MB / 0.9234 GB, free: 1.594 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6324, allocations: 7.125 kB / 0.9235 GB, free: 1.59 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6325, allocations: 0 / 0.9235 GB, free: 1.59 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.6325, allocations: 4 kB / 0.9235 GB, free: 1.586 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.002213/0.6347, allocations: 1.299 MB / 0.9247 GB, free: 236 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.6347, allocations: 12.03 kB / 0.9247 GB, free: 224 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/0.6349, allocations: 122.7 kB / 0.9249 GB, free: 92 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003055/0.6352, allocations: 108.3 kB / 0.925 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.6363, allocations: 0.7274 MB / 0.9257 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/0.6364, allocations: 50.56 kB / 0.9257 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.603e-05/0.6365, allocations: 64 kB / 0.9258 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.6378, allocations: 0.7798 MB / 0.9265 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.6378, allocations: 0 / 0.9265 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-05/0.6379, allocations: 28 kB / 0.9266 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.6379, allocations: 16 kB / 0.9266 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.6394, allocations: 0.9728 MB / 0.9275 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/0.6429, allocations: 2.467 MB / 0.9299 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.6442, allocations: 0.6924 MB / 0.9306 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004133/0.6446, allocations: 247.3 kB / 0.9309 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.685e-05/0.6447, allocations: 28.53 kB / 0.9309 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000717/0.6454, allocations: 426.3 kB / 0.9313 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=70): time 2.244e-06/0.6454, allocations: 0 / 0.9313 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of matching and sorting (n=70): time 0.001611/0.647, allocations: 0.842 MB / 0.9321 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/0.6472, allocations: 239.9 kB / 0.9323 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008151/0.648, allocations: 0.6292 MB / 0.933 GB, free: 7.527 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/0.6481, allocations: 45.83 kB / 0.933 GB, free: 7.477 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.6484, allocations: 369 kB / 0.9333 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.6486, allocations: 241.9 kB / 0.9336 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.6488, allocations: 134.2 kB / 0.9337 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.6491, allocations: 386.8 kB / 0.9341 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.6494, allocations: 197.2 kB / 0.9343 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.65, allocations: 326.2 kB / 0.9346 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/0.6508, allocations: 0.4978 MB / 0.9351 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6508, allocations: 0 / 0.9351 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001124/0.6519, allocations: 0.6348 MB / 0.9357 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.652, allocations: 4 kB / 0.9357 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.652, allocations: 4 kB / 0.9357 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.652, allocations: 4 kB / 0.9357 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.6525, allocations: 135.7 kB / 0.9358 GB, free: 4.496 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/0.6526, allocations: 8.047 kB / 0.9358 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.6531, allocations: 94.25 kB / 0.9359 GB, free: 4.398 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.6532, allocations: 27.97 kB / 0.9359 GB, free: 4.371 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.0003557/0.6535, allocations: 254.3 kB / 0.9362 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.6537, allocations: 83.44 kB / 0.9363 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.6553, allocations: 0.8433 MB / 0.9371 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.6554, allocations: 11.98 kB / 0.9371 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.6554, allocations: 8.5 kB / 0.9371 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.6554, allocations: 7.984 kB / 0.9371 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.6566, allocations: 0.9754 MB / 0.9381 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6566, allocations: 3.938 kB / 0.9381 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004489/0.657, allocations: 124.6 kB / 0.9382 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.6571, allocations: 7.938 kB / 0.9382 GB, free: 1.988 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/0.6571, allocations: 19.98 kB / 0.9382 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.6571, allocations: 4 kB / 0.9382 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.6571, allocations: 0 / 0.9382 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.6584, allocations: 0.7399 MB / 0.9389 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/0.6587, allocations: 261.1 kB / 0.9392 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.6588, allocations: 19.94 kB / 0.9392 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/0.6594, allocations: 55.94 kB / 0.9393 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.6595, allocations: 68.5 kB / 0.9393 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/0.6596, allocations: 27.98 kB / 0.9394 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005852/0.6602, allocations: 459 kB / 0.9398 GB, free: 332 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6602, allocations: 0 / 0.9398 GB, free: 332 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006893/0.6609, allocations: 263.3 kB / 0.94 GB, free: 68 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.003426/0.6643, allocations: 1.804 MB / 0.9418 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.6654, allocations: 0.5482 MB / 0.9423 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6654, allocations: 0 / 0.9423 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005232/0.6659, allocations: 323.6 kB / 0.9427 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.667, allocations: 264.9 kB / 0.9429 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00861/0.6756, allocations: 5.532 MB / 0.9483 GB, free: 7.66 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007019/0.6764, allocations: 0.9757 MB / 0.9493 GB, free: 6.66 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007489/0.6771, allocations: 246.2 kB / 0.9495 GB, free: 6.414 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005269/0.6777, allocations: 339.2 kB / 0.9498 GB, free: 6.082 MB / 0.7012 GB Notification: Performance of SimCode: time 6.91e-07/0.6777, allocations: 0 / 0.9498 GB, free: 6.082 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04742/0.7251, allocations: 18.37 MB / 0.9678 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.06/9.785, allocations: 7.844 kB / 0.9678 GB, free: 4.027 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)